aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Composites/C506.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Composites/C506.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Composites/C506.hs41
1 files changed, 41 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Composites/C506.hs b/specification/src/Text/Edifact/D96A/Composites/C506.hs
new file mode 100644
index 0000000..dc579e6
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Composites/C506.hs
@@ -0,0 +1,41 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Composites.C506
7 ( -- * Definition
8 compositeC506
9 -- * Dependencies
10 , simple1153
11 , simple1154
12 , simple1156
13 , simple4000
14 ) where
15
16import Text.Edifact.D96A.Simples (simple1153, simple1154, simple1156,
17 simple4000)
18
19import Text.Edifact.Parsing
20import Text.Edifact.Types (Value)
21
22-- | Derived from this specification:
23--
24-- > C506 REFERENCE
25-- >
26-- > Desc: Identification of a reference.
27-- >
28-- > 010 1153 Reference qualifier M an..3
29-- > 020 1154 Reference number C an..35
30-- > 030 1156 Line number C an..6
31-- > 040 4000 Reference version number C an..35
32--
33-- Dependencies: 'simple1153', 'simple1154', 'simple1156', 'simple4000'.
34compositeC506 :: Parser Value
35compositeC506 =
36 composite "C506"
37 [ "010" .@ mandatory simple1153
38 , "020" .@ optional simple1154
39 , "030" .@ optional simple1156
40 , "040" .@ optional simple4000
41 ]