summaryrefslogtreecommitdiff
path: root/src/lisp/ao_lisp_lambda.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-11-11 00:28:31 -0800
committerKeith Packard <keithp@keithp.com>2016-11-17 22:18:39 -0800
commitf7a0de052dd3be1565da882b87cf3fbb6c9084d2 (patch)
tree82361f99a0f3b1f9acbf1784d4b4f8c0dcba177d /src/lisp/ao_lisp_lambda.c
parentb3e0dcd2c133015d356a6fd5e654a2e5f8b33380 (diff)
altos/lisp: add length, pack, unpack and flush
lots more builtins Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lisp/ao_lisp_lambda.c')
-rw-r--r--src/lisp/ao_lisp_lambda.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/lisp/ao_lisp_lambda.c b/src/lisp/ao_lisp_lambda.c
index 8eafb187..c53a38fd 100644
--- a/src/lisp/ao_lisp_lambda.c
+++ b/src/lisp/ao_lisp_lambda.c
@@ -49,17 +49,6 @@ const struct ao_lisp_type ao_lisp_lambda_type = {
.move = lambda_move,
};
-static int
-ao_lisp_cons_length(struct ao_lisp_cons *cons)
-{
- int len = 0;
- while (cons) {
- len++;
- cons = ao_lisp_poly_cons(cons->cdr);
- }
- return len;
-}
-
void
ao_lisp_lambda_print(ao_poly poly)
{