]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D96A/Composites/C108.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Composites / C108.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D96A.Composites.C108
7 ( -- * Definition
8 compositeC108
9 -- * Dependencies
10 , simple4440
11 ) where
12
13 import Text.Edifact.D96A.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 M an..70
25 -- > 020 4440 Free text C an..70
26 -- > 030 4440 Free text C an..70
27 -- > 040 4440 Free text C an..70
28 -- > 050 4440 Free text C an..70
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 ]