[MLton-devel] Another incompatibility with Moscow ML: OS.Path.mkAbsolute
Joe Hurd
joe.hurd@comlab.ox.ac.uk
Sat, 18 Oct 2003 12:06:56 +0100 (BST)
Another incompatibility, this time OS.Path.mkAbsolute (again with
-basis 1997).
carp:~$ mlton
MLton 20030716 (built Wed Jul 16 10:23:10 2003 on redhat71)
carp:~$ cat t.sml
val _ = OS.Path.mkAbsolute ("foo","bar");
carp:~$ mlton -basis 1997 t.sml
t.sml:1.9-1.27 Error: unify: field mismatch
t1: {path: char vector, relativeTo: char vector}
t2: (char vector * char vector)
t.sml:1.9-1.27 Error: unify: field mismatch
t1: {path: char vector, relativeTo: char vector}
t2: (char vector * char vector)
compilation aborted: type check reported errors
Looking at the documentation at
http://www.dina.kvl.dk/~sestoft/sml/os-path.html
it seems that
val mkAbsolute : (string * string) -> string
Joe
-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise
Linux in the Boardroom; in the Front Office; & in the Server Room
http://www.enterpriselinuxforum.com
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel