aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D01B/Composites/C236.hs
blob: e927eb9dd3dee8c1db9a4b2413efe1ce99bfd697 (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
{-# LANGUAGE OverloadedStrings #-}

---- Machine generated code.
---- Output of edi-parser-scaffolder

module Text.Edifact.D01B.Composites.C236
  ( -- * Definition
    compositeC236
    -- * Dependencies
  , simple8246
  ) where

import           Text.Edifact.D01B.Simples (simple8246)

import           Text.Edifact.Parsing
import           Text.Edifact.Types        (Value)

-- | Derived from this specification:
--
-- >        C236 DANGEROUS GOODS LABEL
-- >
-- >        Desc: Markings identifying the type of hazardous goods and
-- >              similar information.
-- >
-- > 010    8246  Dangerous goods marking identifier        C      an..4
-- > 020    8246  Dangerous goods marking identifier        C      an..4
-- > 030    8246  Dangerous goods marking identifier        C      an..4
--
-- Dependencies: 'simple8246'.
compositeC236 :: Parser Value
compositeC236 =
  composite "C236"
    [ "010" .@ optional  simple8246
    , "020" .@ optional  simple8246
    , "030" .@ optional  simple8246
    ]