aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Composites/C174.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/Composites/C174.hs
downloadedi-parser-master.tar.gz
edi-parser-master.tar.zst
edi-parser-master.zip
Release code as open sourceHEADmaster
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Composites/C174.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Composites/C174.hs45
1 files changed, 45 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Composites/C174.hs b/specification/src/Text/Edifact/D96A/Composites/C174.hs
new file mode 100644
index 0000000..69ad7d6
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Composites/C174.hs
@@ -0,0 +1,45 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Composites.C174
7 ( -- * Definition
8 compositeC174
9 -- * Dependencies
10 , simple6152
11 , simple6162
12 , simple6314
13 , simple6411
14 , simple6432
15 ) where
16
17import Text.Edifact.D96A.Simples (simple6152, simple6162, simple6314,
18 simple6411, simple6432)
19
20import Text.Edifact.Parsing
21import Text.Edifact.Types (Value)
22
23-- | Derived from this specification:
24--
25-- > C174 VALUE/RANGE
26-- >
27-- > Desc: Measurement value and relevant minimum and maximum
28-- > tolerances in that order.
29-- >
30-- > 010 6411 Measure unit qualifier M an..3
31-- > 020 6314 Measurement value C n..18
32-- > 030 6162 Range minimum C n..18
33-- > 040 6152 Range maximum C n..18
34-- > 050 6432 Significant digits C n..2
35--
36-- Dependencies: 'simple6152', 'simple6162', 'simple6314', 'simple6411', 'simple6432'.
37compositeC174 :: Parser Value
38compositeC174 =
39 composite "C174"
40 [ "010" .@ mandatory simple6411
41 , "020" .@ optional simple6314
42 , "030" .@ optional simple6162
43 , "040" .@ optional simple6152
44 , "050" .@ optional simple6432
45 ]