blob: fa4e7443cc5813606c88d2ddaf9d639110e54fff (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{-# LANGUAGE OverloadedStrings #-}
---- Machine generated code.
---- Output of edi-parser-scaffolder
module Text.Edifact.D96A.Composites.C059
( -- * Definition
compositeC059
-- * Dependencies
, simple3042
) where
import Text.Edifact.D96A.Simples (simple3042)
import Text.Edifact.Parsing
import Text.Edifact.Types (Value)
-- | Derived from this specification:
--
-- > * C059 STREET
-- >
-- > Desc: Street address and/or PO Box number in a structured
-- > address: one to three lines.
-- >
-- > 010 3042 Street and number/p.o. box M an..35
-- > 020 3042 Street and number/p.o. box C an..35
-- > 030 3042 Street and number/p.o. box C an..35
-- > 040 + 3042 Street and number/p.o. box C an..35
--
-- Dependencies: 'simple3042'.
compositeC059 :: Parser Value
compositeC059 =
composite "C059"
[ "010" .@ mandatory simple3042
, "020" .@ optional simple3042
, "030" .@ optional simple3042
, "040" .@ optional simple3042
]
|