diff options
Diffstat (limited to 'src/Codec/Pesto/Parse.lhs-boot')
-rw-r--r-- | src/Codec/Pesto/Parse.lhs-boot | 20 |
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 |