From 5b3e7e15e3deb2fcaf32e196f8db2a81bf7c980e Mon Sep 17 00:00:00 2001 From: evancz Date: Sat, 4 May 2013 19:01:42 -0700 Subject: [PATCH] Add `KeyCode` alias. --- compiler/Types/Alias.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/Types/Alias.hs b/compiler/Types/Alias.hs index b99653a..5f4de5e 100644 --- a/compiler/Types/Alias.hs +++ b/compiler/Types/Alias.hs @@ -15,6 +15,7 @@ builtins = state = [("text", string), ("start", int), ("end", int)] in [ ("String", ([], listOf char)) , ("Time", ([], float)) + , ("KeyCode", ([], int)) , ("Touch", ([], RecordT (Map.fromString touch) EmptyRecord)) , ("TextState", ([], RecordT (Map.fromString state) EmptyRecord)) ]