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/C108.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/C108.hs')
-rw-r--r-- | specification/src/Text/Edifact/D01B/Composites/C108.hs | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D01B/Composites/C108.hs b/specification/src/Text/Edifact/D01B/Composites/C108.hs new file mode 100644 index 0000000..11326d3 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C108.hs | |||
@@ -0,0 +1,39 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C108 | ||
7 | ( -- * Definition | ||
8 | compositeC108 | ||
9 | -- * Dependencies | ||
10 | , simple4440 | ||
11 | ) where | ||
12 | |||
13 | import Text.Edifact.D01B.Simples (simple4440) | ||
14 | |||
15 | import Text.Edifact.Parsing | ||
16 | import Text.Edifact.Types (Value) | ||
17 | |||
18 | -- | Derived from this specification: | ||
19 | -- | ||
20 | -- > C108 TEXT LITERAL | ||
21 | -- > | ||
22 | -- > Desc: Free text; one to five lines. | ||
23 | -- > | ||
24 | -- > 010 4440 Free text value M an..512 | ||
25 | -- > 020 4440 Free text value C an..512 | ||
26 | -- > 030 4440 Free text value C an..512 | ||
27 | -- > 040 4440 Free text value C an..512 | ||
28 | -- > 050 4440 Free text value C an..512 | ||
29 | -- | ||
30 | -- Dependencies: 'simple4440'. | ||
31 | compositeC108 :: Parser Value | ||
32 | compositeC108 = | ||
33 | composite "C108" | ||
34 | [ "010" .@ mandatory simple4440 | ||
35 | , "020" .@ optional simple4440 | ||
36 | , "030" .@ optional simple4440 | ||
37 | , "040" .@ optional simple4440 | ||
38 | , "050" .@ optional simple4440 | ||
39 | ] | ||