]>
Commit | Line | Data |
---|---|---|
a9d77a20 FM |
1 | {-# LANGUAGE OverloadedStrings #-} |
2 | ||
3 | ---- Machine generated code. | |
4 | ---- Output of edi-parser-scaffolder | |
5 | ||
6 | module Text.Edifact.D96A.Composites.C234 | |
7 | ( -- * Definition | |
8 | compositeC234 | |
9 | -- * Dependencies | |
10 | , simple7088 | |
11 | , simple7124 | |
12 | ) where | |
13 | ||
14 | import Text.Edifact.D96A.Simples (simple7088, simple7124) | |
15 | ||
16 | import Text.Edifact.Parsing | |
17 | import Text.Edifact.Types (Value) | |
18 | ||
19 | -- | Derived from this specification: | |
20 | -- | |
21 | -- > C234 UNDG INFORMATION | |
22 | -- > | |
23 | -- > Desc: Information on United Nations Dangerous Goods | |
24 | -- > classification. | |
25 | -- > | |
26 | -- > 010 7124 UNDG number C n4 | |
27 | -- > 020 7088 Dangerous goods flashpoint C an..8 | |
28 | -- | |
29 | -- Dependencies: 'simple7088', 'simple7124'. | |
30 | compositeC234 :: Parser Value | |
31 | compositeC234 = | |
32 | composite "C234" | |
33 | [ "010" .@ optional simple7124 | |
34 | , "020" .@ optional simple7088 | |
35 | ] |