aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2024-01-22 13:38:32 -0800
committerPreston Pan <preston@nullring.xyz>2024-01-22 13:38:32 -0800
commitab4eaabe940c1593ac060d91c652fcdb587786c0 (patch)
tree91589c287408cc94135885cd8ac9e811e492263d /include
parent69b443d4de3dd0217968fd4482abc13b8988116b (diff)
fix curry
Diffstat (limited to 'include')
-rw-r--r--include/stem.h3
1 files changed, 3 insertions, 0 deletions
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);