aboutsummaryrefslogtreecommitdiff
path: root/Data/ConfigManager/Expr.hs
diff options
context:
space:
mode:
authorJoris2016-03-16 21:09:44 +0100
committerJoris2016-03-16 22:09:54 +0100
commitc6c01d7c248bca1078285c4afeaa25493e9974b3 (patch)
tree7b060664b16ffcae25cb62089dfbeed5a0b7c69a /Data/ConfigManager/Expr.hs
parentf2dc23683ceae93135223713e4ca7fa3a12edbea (diff)
Add import expression
Diffstat (limited to 'Data/ConfigManager/Expr.hs')
-rw-r--r--Data/ConfigManager/Expr.hs16
1 files changed, 16 insertions, 0 deletions
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