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 = Cygwin | Darwin | FreeBSD | Linux | MinGW | NetBSD | OpenBSD | Solaris val fromString: string -> t option val host: t val toString: t -> string end end
-
datatype Arch.t
-
Arch.fromString a
-
Arch.host
-
Arch.toString
-
datatype OS.t
-
OS.fromString
-
OS.host
-
OS.toString
-
processor architectures
-
converts from string to architecture. Case insensitive.
-
the architecture for which the program is compiled.
-
string for architecture.
-
operating systems
-
converts from string to operating system. Case insensitive.
-
the operating system for which the program is compiled.
-
string for operating system.