From 494b764274be4db53499fa4eb7decacb93c7bbe9 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sun, 26 Jul 2020 09:30:26 +0200 Subject: Builtins is a Map --- ast/CC/Context.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ast/CC') 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) -- cgit v1.2.3-70-g09d2