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

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

module Text.Edifact.D96A.Simples.S5402
  ( simple5402
  ) where

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

-- | Derived from this specification:
--
-- >    5402  Rate of exchange
-- >
-- >    Desc: The rate at which one specified currency is expressed in
-- >          another specified currency.
-- >
-- >    Repr: n..12
simple5402 :: Parser Value
simple5402 = simple "5402" (numeric `upTo` 12)