3 ms·
How is a program like ``f`,\0`,\0 where f is applied to two arguments, each of which is the next input byte as a Church numeral, evaluated? Does it depend
by tromp 1y ago
How is a program like
``f`,\0`,\0
where f is applied to two arguments, each of which is the next input byte as a Church numeral, evaluated? Does it depend on order of evaluation?
Note that it's also possible to do I/O without additional primitives, as demonstrated in [1].
[1] https://www.ioccc.org/2012/tromp/ https://www.ioccc.org/2012/tromp/
- jorkingit 1y agoI saw this the other day! I salute you, it's so much more evil :-) And yup, the order of evaluation is leftmost innermost. ``\\0`,.`,. with stdin "hi" will print "hi".