blob: 1c102945384b7dbc9c1c75cec5b5d462ac88ea64 (
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
39
|
{-# LANGUAGE OverloadedStrings #-}
---- Machine generated code.
---- Output of edi-parser-scaffolder
module Text.Edifact.D96A.Composites.C058
( -- * Definition
compositeC058
-- * Dependencies
, simple3124
) where
import Text.Edifact.D96A.Simples (simple3124)
import Text.Edifact.Parsing
import Text.Edifact.Types (Value)
-- | Derived from this specification:
--
-- > C058 NAME AND ADDRESS
-- >
-- > Desc: Unstructured name and address: one to five lines.
-- >
-- > 010 3124 Name and address line M an..35
-- > 020 3124 Name and address line C an..35
-- > 030 3124 Name and address line C an..35
-- > 040 3124 Name and address line C an..35
-- > 050 3124 Name and address line C an..35
--
-- Dependencies: 'simple3124'.
compositeC058 :: Parser Value
compositeC058 =
composite "C058"
[ "010" .@ mandatory simple3124
, "020" .@ optional simple3124
, "030" .@ optional simple3124
, "040" .@ optional simple3124
, "050" .@ optional simple3124
]
|