From a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Menou?= Date: Thu, 8 Dec 2016 10:19:15 +0200 Subject: Release code as open source --- .../src/Text/Edifact/D01B/Simples/S4517.hs | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 specification/src/Text/Edifact/D01B/Simples/S4517.hs (limited to 'specification/src/Text/Edifact/D01B/Simples/S4517.hs') 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 @@ +{-# LANGUAGE OverloadedStrings #-} + +---- Machine generated code. +---- Output of edi-parser-scaffolder + +module Text.Edifact.D01B.Simples.S4517 + ( simple4517 + ) where + +import Text.Edifact.Parsing +import Text.Edifact.Types (Value) + +-- | Derived from this specification: +-- +-- > 4517 Seal condition code [B] +-- > +-- > Desc: Code specifying the condition of a seal. +-- > +-- > Repr: an..3 +-- > +-- > 1 In right condition +-- > The seal is in right condition. +-- > +-- > 2 Damaged +-- > The seal is damaged. +-- > +-- > 3 Missing +-- > A seal that is missing. +-- > +-- > 4 Broken +-- > Used to specify that the seal is broken. +-- > +-- > 5 Faulty electronic seal +-- > The electronic seal is faulty. +simple4517 :: Parser Value +simple4517 = simple "4517" (alphaNumeric `upTo` 3) -- cgit v1.2.3