1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-18 04:11:47 +03:00
juvix/test/Nockma
Paul Cadman df9b17d74f
Fix generation and evaluation of Nock isCell op (#2602)
This PR fixes the generation and evaluation of the Nock isCell op.

As we can see from its
[definition](https://developers.urbit.org/reference/nock/definition),
the isCell op (Nock 3) evaluates its argument:

```
*[a 3 b]            ?*[a b]
```

Previously we were not evaluating the argument before checking if it is
an atom/cell.

Co-authored-by: Jan Mas Rovira <janmasrovira@gmail.com>
2024-01-26 19:37:47 +00:00
..
Compile Use Anoma compatible Nockma serialization of Bools and List-like data structures (#2591) 2024-01-24 15:16:04 +00:00
Eval Fix generation and evaluation of Nock isCell op (#2602) 2024-01-26 19:37:47 +00:00
Parse Fast nockma eval (#2580) 2024-01-19 12:01:58 +01:00
Compile.hs Nockma compile (#2570) 2024-01-17 11:15:38 +01:00
Eval.hs Add nockma evaluator (#2564) 2024-01-11 12:04:38 +00:00
Parse.hs Add nockma evaluator (#2564) 2024-01-11 12:04:38 +00:00