]> git.immae.eu Git - github/fretlink/edi-parser.git/blame_incremental - specification/src/Text/Edifact/D01B/Composites/C601.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Composites / C601.hs
... / ...
CommitLineData
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D01B.Composites.C601
7 ( -- * Definition
8 compositeC601
9 -- * Dependencies
10 , simple1131
11 , simple3055
12 , simple9015
13 ) where
14
15import Text.Edifact.D01B.Simples (simple1131, simple3055, simple9015)
16
17import Text.Edifact.Parsing
18import Text.Edifact.Types (Value)
19
20-- | Derived from this specification:
21--
22-- > C601 STATUS CATEGORY
23-- >
24-- > Desc: To specify the category of the status.
25-- >
26-- > 010 9015 Status category code M an..3
27-- > 020 1131 Code list identification code C an..17
28-- > 030 3055 Code list responsible agency code C an..3
29--
30-- Dependencies: 'simple1131', 'simple3055', 'simple9015'.
31compositeC601 :: Parser Value
32compositeC601 =
33 composite "C601"
34 [ "010" .@ mandatory simple9015
35 , "020" .@ optional simple1131
36 , "030" .@ optional simple3055
37 ]