aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Composites/C059.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Composites/C059.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Composites/C059.hs38
1 files changed, 38 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Composites/C059.hs b/specification/src/Text/Edifact/D96A/Composites/C059.hs
new file mode 100644
index 0000000..fa4e744
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Composites/C059.hs
@@ -0,0 +1,38 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Composites.C059
7 ( -- * Definition
8 compositeC059
9 -- * Dependencies
10 , simple3042
11 ) where
12
13import Text.Edifact.D96A.Simples (simple3042)
14
15import Text.Edifact.Parsing
16import Text.Edifact.Types (Value)
17
18-- | Derived from this specification:
19--
20-- > * C059 STREET
21-- >
22-- > Desc: Street address and/or PO Box number in a structured
23-- > address: one to three lines.
24-- >
25-- > 010 3042 Street and number/p.o. box M an..35
26-- > 020 3042 Street and number/p.o. box C an..35
27-- > 030 3042 Street and number/p.o. box C an..35
28-- > 040 + 3042 Street and number/p.o. box C an..35
29--
30-- Dependencies: 'simple3042'.
31compositeC059 :: Parser Value
32compositeC059 =
33 composite "C059"
34 [ "010" .@ mandatory simple3042
35 , "020" .@ optional simple3042
36 , "030" .@ optional simple3042
37 , "040" .@ optional simple3042
38 ]