aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D01B/Simples/S7124.hs
blob: 2159f90d2a5aecac5bb78a7e47e6aa7087a7c656 (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
{-# LANGUAGE OverloadedStrings #-}

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

module Text.Edifact.D01B.Simples.S7124
  ( simple7124
  ) where

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

-- | Derived from this specification:
--
-- >      7124  United Nations Dangerous Goods (UNDG) identifier        [B]
-- >
-- >      Desc: The unique serial number assigned within the United
-- >            Nations to substances and articles contained in a list
-- >            of the dangerous goods most commonly carried.
-- >
-- >      Repr: n4
simple7124 :: Parser Value
simple7124 = simple "7124" (numeric `exactly` 4)