Steps to Reproduce
Consider the following program
main : IO ()
main = do
printLn $ String.length "ab"
printLn $ String.length "a\0b"
and run is with different backends:
$ IDRIS2_CG=chez idris2 --exec main Main.idr
$ IDRIS2_CG=racket idris2 --exec main Main.idr
$ IDRIS2_CG=refc idris2 --exec main Main.idr
$ IDRIS2_CG=node idris2 --exec main Main.idr
Expected Behavior
All backends would give a consistent output, presumably
Observed Behavior
chez, racket and node give
and refc gives