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/D01B/Composites/C208.hs | |
download | edi-parser-master.tar.gz edi-parser-master.tar.zst edi-parser-master.zip |
Diffstat (limited to 'specification/src/Text/Edifact/D01B/Composites/C208.hs')
-rw-r--r-- | specification/src/Text/Edifact/D01B/Composites/C208.hs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D01B/Composites/C208.hs b/specification/src/Text/Edifact/D01B/Composites/C208.hs new file mode 100644 index 0000000..889d546 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C208.hs | |||
@@ -0,0 +1,34 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C208 | ||
7 | ( -- * Definition | ||
8 | compositeC208 | ||
9 | -- * Dependencies | ||
10 | , simple7402 | ||
11 | ) where | ||
12 | |||
13 | import Text.Edifact.D01B.Simples (simple7402) | ||
14 | |||
15 | import Text.Edifact.Parsing | ||
16 | import Text.Edifact.Types (Value) | ||
17 | |||
18 | -- | Derived from this specification: | ||
19 | -- | ||
20 | -- > C208 IDENTITY NUMBER RANGE | ||
21 | -- > | ||
22 | -- > Desc: Goods item identification numbers, start and end of | ||
23 | -- > consecutively numbered range. | ||
24 | -- > | ||
25 | -- > 010 7402 Object identifier M an..35 | ||
26 | -- > 020 7402 Object identifier C an..35 | ||
27 | -- | ||
28 | -- Dependencies: 'simple7402'. | ||
29 | compositeC208 :: Parser Value | ||
30 | compositeC208 = | ||
31 | composite "C208" | ||
32 | [ "010" .@ mandatory simple7402 | ||
33 | , "020" .@ optional simple7402 | ||
34 | ] | ||