aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Segments/TMP.hs
diff options
context:
space:
mode:
authorFrédéric Menou <frederic.menou@fretlink.com>2016-12-08 10:19:15 +0200
committerIsmaël Bouya <ismael.bouya@fretlink.com>2022-05-17 18:01:51 +0200
commita9d77a20008efe82862cc1adbfa7a6d4f09f8ff7 (patch)
treeadf3186fdccaeef19151026cdfbd38a530cf9ecb /specification/src/Text/Edifact/D96A/Segments/TMP.hs
downloadedi-parser-a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7.tar.gz
edi-parser-a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7.tar.zst
edi-parser-a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7.zip
Release code as open sourceHEADmaster
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Segments/TMP.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Segments/TMP.hs38
1 files changed, 38 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Segments/TMP.hs b/specification/src/Text/Edifact/D96A/Segments/TMP.hs
new file mode 100644
index 0000000..7f251c8
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Segments/TMP.hs
@@ -0,0 +1,38 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Segments.TMP
7 ( -- * Definition
8 segmentTMP
9 -- * Dependencies
10 , compositeC239
11 , simple6245
12 ) where
13
14import Text.Edifact.D96A.Composites (compositeC239)
15import Text.Edifact.D96A.Simples (simple6245)
16
17import Text.Edifact.Parsing
18import Text.Edifact.Types (Value)
19
20-- | Derived from this specification:
21--
22-- > TMP TEMPERATURE
23-- >
24-- > Function: To specify the temperature setting.
25-- >
26-- > 010 6245 TEMPERATURE QUALIFIER M an..3
27-- >
28-- > 020 C239 TEMPERATURE SETTING C
29-- > 6246 Temperature setting C n3
30-- > 6411 Measure unit qualifier C an..3
31--
32-- Dependencies: 'compositeC239', 'simple6245'.
33segmentTMP :: Parser Value
34segmentTMP =
35 segment "TMP"
36 [ "010" .@ mandatory simple6245
37 , "020" .@ optional compositeC239
38 ]