aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Simples/S1222.hs
blob: 10f3e5cb114e4be154a5c564f26a6f043077d706 (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.S1222
  ( simple1222
  ) where

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

-- | Derived from this specification:
--
-- >    1222  Configuration level
-- >
-- >    Desc: Number indicating the level of an object which is in a
-- >          hierarchy.
-- >
-- >    Repr: n..2
simple1222 :: Parser Value
simple1222 = simple "1222" (numeric `upTo` 2)