aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D01B/Simples/S5284.hs
blob: 403e38a953fc20652ecccc00a5e7898fff427b92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{-# LANGUAGE OverloadedStrings #-}

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

module Text.Edifact.D01B.Simples.S5284
  ( simple5284
  ) where

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

-- | Derived from this specification:
--
-- >      5284  Unit price basis value                                  [B]
-- >
-- >      Desc: To specify the basis for a unit price.
-- >
-- >      Repr: n..9
simple5284 :: Parser Value
simple5284 = simple "5284" (numeric `upTo` 9)