diff options
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Composites/C228.hs')
-rw-r--r-- | specification/src/Text/Edifact/D96A/Composites/C228.hs | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Composites/C228.hs b/specification/src/Text/Edifact/D96A/Composites/C228.hs new file mode 100644 index 0000000..a44ac07 --- /dev/null +++ b/specification/src/Text/Edifact/D96A/Composites/C228.hs | |||
@@ -0,0 +1,35 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D96A.Composites.C228 | ||
7 | ( -- * Definition | ||
8 | compositeC228 | ||
9 | -- * Dependencies | ||
10 | , simple8178 | ||
11 | , simple8179 | ||
12 | ) where | ||
13 | |||
14 | import Text.Edifact.D96A.Simples (simple8178, simple8179) | ||
15 | |||
16 | import Text.Edifact.Parsing | ||
17 | import Text.Edifact.Types (Value) | ||
18 | |||
19 | -- | Derived from this specification: | ||
20 | -- | ||
21 | -- > C228 TRANSPORT MEANS | ||
22 | -- > | ||
23 | -- > Desc: Code and/or name identifying the type of means of | ||
24 | -- > transport. | ||
25 | -- > | ||
26 | -- > 010 8179 Type of means of transport identification C an..8 | ||
27 | -- > 020 8178 Type of means of transport C an..17 | ||
28 | -- | ||
29 | -- Dependencies: 'simple8178', 'simple8179'. | ||
30 | compositeC228 :: Parser Value | ||
31 | compositeC228 = | ||
32 | composite "C228" | ||
33 | [ "010" .@ optional simple8179 | ||
34 | , "020" .@ optional simple8178 | ||
35 | ] | ||