From c6c01d7c248bca1078285c4afeaa25493e9974b3 Mon Sep 17 00:00:00 2001 From: Joris Date: Wed, 16 Mar 2016 21:09:44 +0100 Subject: Add import expression --- Data/ConfigManager/Expr.hs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Data/ConfigManager/Expr.hs (limited to 'Data/ConfigManager/Expr.hs') diff --git a/Data/ConfigManager/Expr.hs b/Data/ConfigManager/Expr.hs new file mode 100644 index 0000000..3aa8825 --- /dev/null +++ b/Data/ConfigManager/Expr.hs @@ -0,0 +1,16 @@ +module Data.ConfigManager.Expr + ( Expr(..) + , Name + , Value + ) where + +import Data.Text (Text) + +data Expr = + Binding Name Value + | Import FilePath + deriving (Eq, Read, Show) + +type Name = Text + +type Value = Text -- cgit v1.2.3