1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D96A.Composites.C058
13 import Text.Edifact.D96A.Simples (simple3124)
15 import Text.Edifact.Parsing
16 import Text.Edifact.Types (Value)
18 -- | Derived from this specification:
20 -- > C058 NAME AND ADDRESS
22 -- > Desc: Unstructured name and address: one to five lines.
24 -- > 010 3124 Name and address line M an..35
25 -- > 020 3124 Name and address line C an..35
26 -- > 030 3124 Name and address line C an..35
27 -- > 040 3124 Name and address line C an..35
28 -- > 050 3124 Name and address line C an..35
30 -- Dependencies: 'simple3124'.
31 compositeC058 :: Parser Value
34 [ "010" .@ mandatory simple3124
35 , "020" .@ optional simple3124
36 , "030" .@ optional simple3124
37 , "040" .@ optional simple3124
38 , "050" .@ optional simple3124