diff options
author | Peter Mikkelsen <petermikkelsen10@gmail.com> | 2022-05-09 18:59:23 +0000 |
---|---|---|
committer | Peter Mikkelsen <petermikkelsen10@gmail.com> | 2022-05-09 18:59:23 +0000 |
commit | e425895a315d65ff9ca1e2d7911c2fd21d49fe5e (patch) | |
tree | 7622287d299dbf3edad7679841a59ac47348f1f5 /eval.c | |
parent | 0f547edbd76814f7a8299f5e1647cd0816276ba8 (diff) |
Fix some nasty bugs with empty lines in dfns, and with stranding of ⍺ and ⍵.
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -202,6 +202,7 @@ monadfun(Datum *left, Datum *right) { traceprint("Monadic function application\n"); Datum *result = allocdatum(ArrayTag, 0); + SetStrand(right->array, 0); result->array = runfunc(left->func, left->func.left, right->array); return result; } @@ -218,6 +219,7 @@ dyadfun(Datum *left, Datum *right) result->func.code = right->hybrid; } result->func.left = fnSame(left->array); + SetStrand(result->func.left, 0); return result; } |