This repository has been archived on 2026-05-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
prog-104-p-03-2030/functional_market/Fundamentals/toolbox.c
T
2026-04-09 15:08:25 +02:00

38 lines
578 B
C

#include "toolbox.h"
struct array *sort(struct array *arr, comparator f)
{
(void)arr;
(void)f;
return NULL;
}
struct array *map(struct array *arr, size_t output_size, mapper f)
{
(void)arr;
(void)f;
(void)output_size;
return NULL;
}
struct array *filter(struct array *arr, predicate f)
{
(void)arr;
(void)f;
return NULL;
}
void *reduce(struct array *arr, void *start_value, reducer f)
{
(void)arr;
(void)f;
(void)start_value;
return NULL;
}
void foreach(struct array *arr, acceptor f)
{
(void)arr;
(void)f;
}