1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-03 09:41:10 +03:00
juvix/bench2
Paul Cadman 52f8afdb2b
Add support for anoma-decode builtin (#2775)
This PR adds support for the `anoma-decode` builtin

```
builtin anoma-decode
axiom anomaDecode : {A : Type} -> Nat -> A
```

Adds:
* An implementation of the `cue` function in Haskell
* Unit tests for `cue`
* A benchmark for `cue` applied to the Anoma / nockma stdlib

Benchmark results:

```
      cue (jam stdlib): OK
        36.0 ms ± 2.0 ms
```

Closes:
*  https://github.com/anoma/juvix/issues/2764
2024-05-15 18:30:17 +01:00
..
Benchmark Add support for anoma-decode builtin (#2775) 2024-05-15 18:30:17 +01:00
Main.hs Add support for anoma-encode builtin (#2766) 2024-05-14 17:45:49 +01:00
PolysemyPrelude.hs Replace polysemy by effectful (#2663) 2024-03-21 12:09:34 +00:00