]> git.immae.eu Git - github/fretlink/edi-parser.git/blame - specification/src/Text/Edifact/D96A/Composites/C502.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Composites / C502.hs
CommitLineData
a9d77a20
FM
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Composites.C502
7 ( -- * Definition
8 compositeC502
9 -- * Dependencies
10 , simple6154
11 , simple6155
12 , simple6313
13 , simple6321
14 ) where
15
16import Text.Edifact.D96A.Simples (simple6154, simple6155, simple6313,
17 simple6321)
18
19import Text.Edifact.Parsing
20import Text.Edifact.Types (Value)
21
22-- | Derived from this specification:
23--
24-- > C502 MEASUREMENT DETAILS
25-- >
26-- > Desc: Identification of measurement type.
27-- >
28-- > 010 6313 Measurement dimension, coded C an..3
29-- > 020 6321 Measurement significance, coded C an..3
30-- > 030 6155 Measurement attribute, coded C an..3
31-- > 040 6154 Measurement attribute C an..70
32--
33-- Dependencies: 'simple6154', 'simple6155', 'simple6313', 'simple6321'.
34compositeC502 :: Parser Value
35compositeC502 =
36 composite "C502"
37 [ "010" .@ optional simple6313
38 , "020" .@ optional simple6321
39 , "030" .@ optional simple6155
40 , "040" .@ optional simple6154
41 ]