JanetDocs
Playground
I'm feeling lucky
GitHub sign in
Run
Format
(var a nil) (var b nil) (varfn a [x] (if (zero? x) 0 (b x))) (varfn b [y] (if (pos? y) 1 (a y))) (a 1) # => 1 (b 0) # => 0