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

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

-- | Derived from this specification:
--
-- >    1218  Number of originals of document required
-- >
-- >    Desc: Specification of the number of originals of a stipulated
-- >          document that are required.
-- >
-- >    Repr: n..2
simple1218 :: Parser Value
simple1218 = simple "1218" (numeric `upTo` 2)