aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Composites/C108.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Composites/C108.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Composites/C108.hs39
1 files changed, 39 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Composites/C108.hs b/specification/src/Text/Edifact/D96A/Composites/C108.hs
new file mode 100644
index 0000000..47ae303
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Composites/C108.hs
@@ -0,0 +1,39 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Composites.C108
7 ( -- * Definition
8 compositeC108
9 -- * Dependencies
10 , simple4440
11 ) where
12
13import Text.Edifact.D96A.Simples (simple4440)
14
15import Text.Edifact.Parsing
16import 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'.
31compositeC108 :: Parser Value
32compositeC108 =
33 composite "C108"
34 [ "010" .@ mandatory simple4440
35 , "020" .@ optional simple4440
36 , "030" .@ optional simple4440
37 , "040" .@ optional simple4440
38 , "050" .@ optional simple4440
39 ]