aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D01B/Simples/S1220.hs
blob: 5a0f341819c04d07392e88048b5aae32617fa6eb (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.S1220
  ( simple1220
  ) where

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

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