We would like to convert C-enumerations like colour into an equivalent ML datatype, together with functions to convert between values of the datatype and ML integers. This can be achieved automatically by using the script proc-enums, contained in the scripts subdirectory of the source tree.
David> I can't find it either. The foreign function interface was David> written at AHL and when they went into receivership I managed David> to recover most of what they had done but not everything. This David> script seems to have disappeared. It shouldn't be hard to David> write something like it so if anyone feels like contributing a David> version I'll add it to the source.
OK, thanks, I might try this at some point. Will report.
Another question: are the basis/Net* and basis/*Sock* modules documented anywhere? I have a version of the Basis document dated August 5, 1997 by Jonh Reppy. Has it been amended since? If yes, where can I get the current version? If not, where do these modules come from?