diff options
author | 2009-09-19 13:32:33 -0400 | |
---|---|---|
committer | 2009-09-19 13:32:33 -0400 | |
commit | 04b98841de74bdf38e905729a501b34913902db7 (patch) | |
tree | f50a6fffa9a2e6aaacfe70b509015a14b90a0a16 /src/monoize.sml | |
parent | 0ecf48297c01024c108f0cbb8b401250bdfaf44a (diff) |
Grid sorting working
Diffstat (limited to 'src/monoize.sml')
-rw-r--r-- | src/monoize.sml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/monoize.sml b/src/monoize.sml index 865acff4..00230d1a 100644 --- a/src/monoize.sml +++ b/src/monoize.sml @@ -1024,6 +1024,15 @@ fun monoExp (env, st, fm) (all as (e, loc)) = boolBin "<", boolBin "<=") end + | L.ECApp ((L.EFfi ("Basis", "mkOrd"), _), t) => + let + val t = monoType env t + val b = (L'.TFfi ("Basis", "bool"), loc) + val dom = ordTy t + in + ((L'.EAbs ("f", dom, dom, + (L'.ERel 0, loc)), loc), fm) + end | L.ECApp ((L.EFfi ("Basis", "show"), _), t) => let |