List.map in zig!

This commit is contained in:
Folkert 2021-02-17 15:38:55 +01:00
parent 821e750876
commit 42c5662872
6 changed files with 250 additions and 206 deletions

View file

@ -753,6 +753,9 @@ define_builtins! {
// a user-defined function that we need to capture in a closure
// see e.g. Set.walk
19 USER_FUNCTION: "#user_function"
// A caller (wrapper) that we pass to zig for it to be able to call Roc functions
20 ZIG_FUNCTION_CALLER: "#zig_function_caller"
}
1 NUM: "Num" => {
0 NUM_NUM: "Num" imported // the Num.Num type alias