If I'm trying to do this:
Convert #”N” to a real
What ML expression would do this?
In the same way that:\
str = Char -> string
chr = int -> Char
ord = Char -> int
real = int -> real
Is there an ML expression like the ones stated above that can convert char -> real?
The input would be something like:
real #"N";
and the output would be:
val it = "whatever the value is": real
real o ordwill do it. Whether that is what you intend to do is difficult to guess. (I suspect that this is an XY problem, and that your actual problem can be solved in a better way.)CHARsignature.