diff options
author | Frédéric Menou <frederic.menou@fretlink.com> | 2016-12-08 10:19:15 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2022-05-17 18:01:51 +0200 |
commit | a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7 (patch) | |
tree | adf3186fdccaeef19151026cdfbd38a530cf9ecb /specification/src/Text/Edifact/D96A/Composites/C537.hs | |
download | edi-parser-master.tar.gz edi-parser-master.tar.zst edi-parser-master.zip |
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Composites/C537.hs')
-rw-r--r-- | specification/src/Text/Edifact/D96A/Composites/C537.hs | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Composites/C537.hs b/specification/src/Text/Edifact/D96A/Composites/C537.hs new file mode 100644 index 0000000..a3f56a3 --- /dev/null +++ b/specification/src/Text/Edifact/D96A/Composites/C537.hs | |||
@@ -0,0 +1,37 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D96A.Composites.C537 | ||
7 | ( -- * Definition | ||
8 | compositeC537 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple4219 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D96A.Simples (simple1131, simple3055, simple4219) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import Text.Edifact.Types (Value) | ||
19 | |||
20 | -- | Derived from this specification: | ||
21 | -- | ||
22 | -- > C537 TRANSPORT PRIORITY | ||
23 | -- > | ||
24 | -- > Desc: To indicate the priority of requested transport service. | ||
25 | -- > | ||
26 | -- > 010 4219 Transport priority, coded M an..3 | ||
27 | -- > 020 1131 Code list qualifier C an..3 | ||
28 | -- > 030 3055 Code list responsible agency, coded C an..3 | ||
29 | -- | ||
30 | -- Dependencies: 'simple1131', 'simple3055', 'simple4219'. | ||
31 | compositeC537 :: Parser Value | ||
32 | compositeC537 = | ||
33 | composite "C537" | ||
34 | [ "010" .@ mandatory simple4219 | ||
35 | , "020" .@ optional simple1131 | ||
36 | , "030" .@ optional simple3055 | ||
37 | ] | ||