aboutsummaryrefslogtreecommitdiff
path: root/ast/CC
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2020-07-26 09:30:26 +0200
committerTom Smeding <tom.smeding@gmail.com>2020-07-26 09:30:26 +0200
commit494b764274be4db53499fa4eb7decacb93c7bbe9 (patch)
treec8966de4c992ef9755a310435500c475814eae96 /ast/CC
parent0503dcb2998ab9dcd0f39e6f264f482a3d2cc7f7 (diff)
Builtins is a Map
Diffstat (limited to 'ast/CC')
-rw-r--r--ast/CC/Context.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/ast/CC/Context.hs b/ast/CC/Context.hs
index b86685d..68378d7 100644
--- a/ast/CC/Context.hs
+++ b/ast/CC/Context.hs
@@ -1,5 +1,7 @@
module CC.Context where
+import Data.Map.Strict (Map)
+
import CC.AST.Typed
@@ -7,4 +9,4 @@ import CC.AST.Typed
data Context = Context FilePath Builtins
-- | Information about builtins supported by the enabled backend
-data Builtins = Builtins [(Name, Type)]
+data Builtins = Builtins (Map Name Type)