[MLton-user] IntInf.fromString and leading spaces

David Hansel hansel at reactive-systems.com
Tue Sep 15 17:40:29 PDT 2009


Hi all,

We have come across one minor issue:  The IntInf.fromString
function does not appear to handle leading spaces well.  Other
fromString functions have no problem with leading spaces.

For example, (IntInf.fromString " 1") evaluates to NONE
whereas (Int.fromString " 1") evalutates to SOME 1.

We are currently using
MLton MLTONVERSION (built Tue Feb 03 16:33:30 2009 on orange)

Best regards,

David

-- 
  ----------------------------------------------------------
  David Hansel
  Reactive Systems, Inc.
  http://www.reactive-systems.com/
  ----------------------------------------------------------





More information about the MLton-user mailing list