summaryrefslogtreecommitdiff
path: root/src/lib/Codec/Pesto/Parse.lhs-boot
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2020-08-24 17:09:34 +0200
committerLars-Dominik Braun <lars@6xq.net>2020-08-24 17:09:34 +0200
commit295dd897297722d07ec2ce5fb82e323fe495c775 (patch)
tree8d9de652a030c34c6be775ca31c159620f52fbf1 /src/lib/Codec/Pesto/Parse.lhs-boot
parent39f9263fa38c32ce2e3a4f4bedb8349da47a3200 (diff)
downloadpesto-295dd897297722d07ec2ce5fb82e323fe495c775.tar.gz
pesto-295dd897297722d07ec2ce5fb82e323fe495c775.tar.bz2
pesto-295dd897297722d07ec2ce5fb82e323fe495c775.zip
GHC 8.8, cabal 3, pandoc 2.10 compatibility
Move files around to separate Pesto (the library) and Pesto (the executables). Fixes for pandoc API changes.
Diffstat (limited to 'src/lib/Codec/Pesto/Parse.lhs-boot')
-rw-r--r--src/lib/Codec/Pesto/Parse.lhs-boot22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/lib/Codec/Pesto/Parse.lhs-boot b/src/lib/Codec/Pesto/Parse.lhs-boot
new file mode 100644
index 0000000..9096ad7
--- /dev/null
+++ b/src/lib/Codec/Pesto/Parse.lhs-boot
@@ -0,0 +1,22 @@
+> module Codec.Pesto.Parse where
+
+> data Instruction =
+> Annotation String
+> | Ingredient Quantity
+> | Tool Quantity
+> | Action String
+> | Reference Quantity
+> | Result Quantity
+> | Alternative Quantity
+> | Directive String
+> | Unknown String
+> 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