aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D01B/Simples/S4517.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/D01B/Simples/S4517.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/D01B/Simples/S4517.hs')
-rw-r--r--specification/src/Text/Edifact/D01B/Simples/S4517.hs36
1 files changed, 36 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D01B/Simples/S4517.hs b/specification/src/Text/Edifact/D01B/Simples/S4517.hs
new file mode 100644
index 0000000..94dba05
--- /dev/null
+++ b/specification/src/Text/Edifact/D01B/Simples/S4517.hs
@@ -0,0 +1,36 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D01B.Simples.S4517
7 ( simple4517
8 ) where
9
10import Text.Edifact.Parsing
11import Text.Edifact.Types (Value)
12
13-- | Derived from this specification:
14--
15-- > 4517 Seal condition code [B]
16-- >
17-- > Desc: Code specifying the condition of a seal.
18-- >
19-- > Repr: an..3
20-- >
21-- > 1 In right condition
22-- > The seal is in right condition.
23-- >
24-- > 2 Damaged
25-- > The seal is damaged.
26-- >
27-- > 3 Missing
28-- > A seal that is missing.
29-- >
30-- > 4 Broken
31-- > Used to specify that the seal is broken.
32-- >
33-- > 5 Faulty electronic seal
34-- > The electronic seal is faulty.
35simple4517 :: Parser Value
36simple4517 = simple "4517" (alphaNumeric `upTo` 3)