]>
Commit | Line | Data |
---|---|---|
1 | {-# LANGUAGE OverloadedStrings #-} | |
2 | ||
3 | ---- Machine generated code. | |
4 | ---- Output of edi-parser-scaffolder | |
5 | ||
6 | module Text.Edifact.D01B.Composites.C239 | |
7 | ( -- * Definition | |
8 | compositeC239 | |
9 | -- * Dependencies | |
10 | , simple6246 | |
11 | , simple6411 | |
12 | ) where | |
13 | ||
14 | import Text.Edifact.D01B.Simples (simple6246, simple6411) | |
15 | ||
16 | import Text.Edifact.Parsing | |
17 | import Text.Edifact.Types (Value) | |
18 | ||
19 | -- | Derived from this specification: | |
20 | -- | |
21 | -- > C239 TEMPERATURE SETTING | |
22 | -- > | |
23 | -- > Desc: The temperature under which the goods are (to be) | |
24 | -- > stored or shipped. | |
25 | -- > | |
26 | -- > 010 6246 Temperature value C n..15 | |
27 | -- > 020 6411 Measurement unit code C an..3 | |
28 | -- | |
29 | -- Dependencies: 'simple6246', 'simple6411'. | |
30 | compositeC239 :: Parser Value | |
31 | compositeC239 = | |
32 | composite "C239" | |
33 | [ "010" .@ optional simple6246 | |
34 | , "020" .@ optional simple6411 | |
35 | ] |