Idris2/tests/node/tailrec002/run
Edwin Brady 26a47ddafe
Make prim_js2idris_array iterative (#2267)
I was getting a stack overflow on the tailrec002 test, caused by this
primitive being recursive. I've made it iterative. I'm no JS expert but
I've tested its behaviour against the old version.
2022-01-16 19:15:26 +00:00

5 lines
151 B
Plaintext
Executable File

rm -rf build
$1 --no-color --console-width 0 --no-banner --cg node EvenOdd.idr -o app.js
$1 --no-color --console-width 0 --no-banner Main.idr -x main