summaryrefslogtreecommitdiff
path: root/src/Codec/Pesto/Parse.lhs-boot
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-06-14 20:35:08 +0200
committerLars-Dominik Braun <lars@6xq.net>2015-06-14 20:35:08 +0200
commite92c82e2c9ff541cd321ad7a8aedcf34e615197c (patch)
treefd07d24164450f25a224eb593922e4a4926d062b /src/Codec/Pesto/Parse.lhs-boot
downloadpesto-e92c82e2c9ff541cd321ad7a8aedcf34e615197c.tar.gz
pesto-e92c82e2c9ff541cd321ad7a8aedcf34e615197c.tar.bz2
pesto-e92c82e2c9ff541cd321ad7a8aedcf34e615197c.zip
First public version
Diffstat (limited to 'src/Codec/Pesto/Parse.lhs-boot')
-rw-r--r--src/Codec/Pesto/Parse.lhs-boot20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/Codec/Pesto/Parse.lhs-boot b/src/Codec/Pesto/Parse.lhs-boot
new file mode 100644
index 0000000..6a6dee9
--- /dev/null
+++ b/src/Codec/Pesto/Parse.lhs-boot
@@ -0,0 +1,20 @@
+> module Codec.Pesto.Parse where
+
+> data Operation =
+> Annotation String
+> | Ingredient Quantity
+> | Tool Quantity
+> | Action String
+> | Reference Quantity
+> | Result Object
+> | Alternative Object
+> data Quantity = Quantity Approximately Unit Object
+> type Unit = String
+> type Object = String
+> data Approximately =
+> Range Amount Amount
+> | Approx Amount
+> | Exact Amount
+> data Amount =
+> AmountRatio Rational
+> | AmountStr String