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

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

module Text.Edifact.D01B.Simples.S6411
  ( simple6411
  ) where

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

-- | Derived from this specification:
--
-- > |    6411  Measurement unit code                                   [C]
-- >
-- >      Desc: Code specifying the unit of measurement.
-- >
-- >      Repr: an..3
-- >
-- >      Note:
-- > |          1 Recommend use UN/ECE Recommendation 20, Common code.
simple6411 :: Parser Value
simple6411 = simple "6411" (alphaNumeric `upTo` 3)