MLton 20100608 MLtonPlatform
Home  Index  
signature MLTON_PLATFORM =
   sig
      structure Arch:
         sig
            datatype t = Alpha | AMD64 | ARM | HPPA | IA64 | m68k 
                       | MIPS | PowerPC | S390 | Sparc | X86

            val fromString: string -> t option
            val host: t
            val toString: t -> string
         end
         
      structure OS:
         sig
            datatype t = AIX | Cygwin | Darwin | FreeBSD | HPUX 
                       | Linux | MinGW | NetBSD | OpenBSD | Solaris

            val fromString: string -> t option
            val host: t
            val toString: t -> string
         end
   end


Last edited on 2007-08-23 03:44:30 by MatthewFluet.