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

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

-- | Derived from this specification:
--
-- >    6345  Currency, coded
-- >
-- >    Desc: Identification of the name or symbol of the monetary unit
-- >          involved in the transaction.
-- >
-- >    Repr: an..3
-- >
-- >    Note: Use ISO 4217 three alpha code.
simple6345 :: Parser Value
simple6345 = simple "6345" (alphaNumeric `upTo` 3)