frege> pure native toString :: Object -> String
native function toString :: Object -> String
frege> toString stdin
java.io.BufferedReader@63b7e77
This must be forbidden, as the defining characteristic of a mutable native type like BufferedReader is that it can never appear in a pure native function.
The following works:
This must be forbidden, as the defining characteristic of a mutable native type like
BufferedReader
is that it can never appear in a pure native function.