From ab4eaabe940c1593ac060d91c652fcdb587786c0 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Mon, 22 Jan 2024 13:38:32 -0800 Subject: fix curry --- include/stem.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/stem.h b/include/stem.h index 381b0ad..f252694 100644 --- a/include/stem.h +++ b/include/stem.h @@ -111,6 +111,9 @@ array_t *init_array(size_t size); /*! appends element to back of array */ void array_append(array_t *a, value_t *v); +/*! appends element to front of array */ +void array_curry(array_t *a, value_t *v); + /*! pops last element off of array */ value_t *array_pop(array_t *a); -- cgit