diff options
author | 2009-07-18 12:53:26 -0400 | |
---|---|---|
committer | 2009-07-18 12:53:26 -0400 | |
commit | a0f04bf3a961a1da0283397f1f69c3c9bf6c1404 (patch) | |
tree | 6b55accc9b388b5a6a51795811f7660a5ff5c682 /src/monoize.sml | |
parent | d220a54cca60319831bd618f6cd70245014397cb (diff) |
Key events get key code input
Diffstat (limited to 'src/monoize.sml')
-rw-r--r-- | src/monoize.sml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/monoize.sml b/src/monoize.sml index a6e38fd7..488f3b20 100644 --- a/src/monoize.sml +++ b/src/monoize.sml @@ -2505,10 +2505,13 @@ fun monoExp (env, st, fm) (all as (e, loc)) = result = (L'.TFfi ("Basis", "string"), loc)}), loc), fm) end - | (L'.TFun _, _) => + | (L'.TFun (dom, _), _) => let val s' = " " ^ lowercaseFirst x ^ "='" - val e = (L'.EApp (e, (L'.ERecord [], loc)), loc) + val e = case #1 dom of + L'.TRecord [] => (L'.EApp (e, (L'.ERecord [], loc)), loc) + | _ => (L'.EApp ((L'.EApp (e, (L'.EFfiApp ("Basis", "kc", []), loc)), + loc), (L'.ERecord [], loc)), loc) in ((L'.EStrcat (s, (L'.EStrcat ( |