1 (* Copyright (C) 1999-2007 Henry Cejtin, Matthew Fluet, Suresh
2 * Jagannathan, and Stephen Weeks.
3 * Copyright (C) 1997-2000 NEC Research Institute.
5 * MLton is released under a BSD-style license.
6 * See the file MLton-LICENSE for details.
9 functor Con (S: CON_STRUCTS): CON =
14 structure C = Id (val noname = "C")
17 structure P = PrimCons (C)
20 val all = [cons, falsee, nill, reff, truee, bind, match]
27 (List.map (all, fn c =>
28 seq [layout c, str " size is ",
29 Int.layout (MLton.size c),
30 str " plist length is ",
31 Int.layout (PropertyList.length (plist c))]))
33 (* quell unused warning *)
36 fun fromBool b = if b then truee else falsee