aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Simples/S1004.hs
blob: 5381b20832352f145a3b750b6d107b678b141577 (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.S1004
  ( simple1004
  ) where

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

-- | Derived from this specification:
--
-- >    1004  Document/message number
-- >
-- >    Desc: Reference number assigned to the document/message by the
-- >          issuer.
-- >
-- >    Repr: an..35
simple1004 :: Parser Value
simple1004 = simple "1004" (alphaNumeric `upTo` 35)