diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2020-07-26 09:30:26 +0200 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2020-07-26 09:30:26 +0200 |
commit | 494b764274be4db53499fa4eb7decacb93c7bbe9 (patch) | |
tree | c8966de4c992ef9755a310435500c475814eae96 /ast/CC | |
parent | 0503dcb2998ab9dcd0f39e6f264f482a3d2cc7f7 (diff) |
Builtins is a Map
Diffstat (limited to 'ast/CC')
-rw-r--r-- | ast/CC/Context.hs | 4 |
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) |