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

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

-- | Derived from this specification:
--
-- >      1218  Document originals required quantity                    [B]
-- >
-- >      Desc: Quantity of document originals required.
-- >
-- >      Repr: n..2
simple1218 :: Parser Value
simple1218 = simple "1218" (numeric `upTo` 2)