[MLton-devel] [MLton-user] _ffi and Windows stdcall symbols

Stephen Weeks MLton@mlton.org
Fri, 18 Jul 2003 10:12:37 -0700


> > Another, which follows the Haskell report, is to use a single _ffi
> > keyword, as in:
> >
> > 	_ffi {import|export} "name" <attribute>*: <ty>;
> >
> > Any thoughts on this?
> 
> That's o.k. too, although I think I prefer the former.

The one advantage of this one is that there is only one reserved
keyword introduced into the language cutting into the space of
identifiers.  That's not a big deal right now because we use the _
prefix because it's nonstandard.  But if it ever does become standard,
it would be a shame to disallow "import" and "export" as variables.



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel