|
|
|
|
|
by tromp
378 days 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/ |
|
And yup, the order of evaluation is leftmost innermost.
with stdin "hi" will print "hi".