aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Simples/S5004.hs
blob: e49ca06658d41ae1e3b248c7c89322e55df7bc1b (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.D96A.Simples.S5004
  ( simple5004
  ) where

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

-- | Derived from this specification:
--
-- >    5004  Monetary amount
-- >
-- >    Desc: Number of monetary units.
-- >
-- >    Repr: n..18
simple5004 :: Parser Value
simple5004 = simple "5004" (numeric `upTo` 18)