diff options
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Composites/C100.hs')
-rw-r--r-- | specification/src/Text/Edifact/D96A/Composites/C100.hs | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Composites/C100.hs b/specification/src/Text/Edifact/D96A/Composites/C100.hs new file mode 100644 index 0000000..2b45e00 --- /dev/null +++ b/specification/src/Text/Edifact/D96A/Composites/C100.hs | |||
@@ -0,0 +1,44 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D96A.Composites.C100 | ||
7 | ( -- * Definition | ||
8 | compositeC100 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple4052 | ||
13 | , simple4053 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D96A.Simples (simple1131, simple3055, simple4052, | ||
17 | simple4053) | ||
18 | |||
19 | import Text.Edifact.Parsing | ||
20 | import Text.Edifact.Types (Value) | ||
21 | |||
22 | -- | Derived from this specification: | ||
23 | -- | ||
24 | -- > C100 TERMS OF DELIVERY OR TRANSPORT | ||
25 | -- > | ||
26 | -- > Desc: Terms of delivery or transport code from a specified | ||
27 | -- > source. | ||
28 | -- > | ||
29 | -- > 010 4053 Terms of delivery or transport, coded C an..3 | ||
30 | -- > 020 1131 Code list qualifier C an..3 | ||
31 | -- > 030 3055 Code list responsible agency, coded C an..3 | ||
32 | -- > 040 4052 Terms of delivery or transport C an..70 | ||
33 | -- > 050 4052 Terms of delivery or transport C an..70 | ||
34 | -- | ||
35 | -- Dependencies: 'simple1131', 'simple3055', 'simple4052', 'simple4053'. | ||
36 | compositeC100 :: Parser Value | ||
37 | compositeC100 = | ||
38 | composite "C100" | ||
39 | [ "010" .@ optional simple4053 | ||
40 | , "020" .@ optional simple1131 | ||
41 | , "030" .@ optional simple3055 | ||
42 | , "040" .@ optional simple4052 | ||
43 | , "050" .@ optional simple4052 | ||
44 | ] | ||