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/D96A/Composites/C228.hs | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 specification/src/Text/Edifact/D96A/Composites/C228.hs (limited to 'specification/src/Text/Edifact/D96A/Composites/C228.hs') diff --git a/specification/src/Text/Edifact/D96A/Composites/C228.hs b/specification/src/Text/Edifact/D96A/Composites/C228.hs new file mode 100644 index 0000000..a44ac07 --- /dev/null +++ b/specification/src/Text/Edifact/D96A/Composites/C228.hs @@ -0,0 +1,35 @@ +{-# LANGUAGE OverloadedStrings #-} + +---- Machine generated code. +---- Output of edi-parser-scaffolder + +module Text.Edifact.D96A.Composites.C228 + ( -- * Definition + compositeC228 + -- * Dependencies + , simple8178 + , simple8179 + ) where + +import Text.Edifact.D96A.Simples (simple8178, simple8179) + +import Text.Edifact.Parsing +import Text.Edifact.Types (Value) + +-- | Derived from this specification: +-- +-- > C228 TRANSPORT MEANS +-- > +-- > Desc: Code and/or name identifying the type of means of +-- > transport. +-- > +-- > 010 8179 Type of means of transport identification C an..8 +-- > 020 8178 Type of means of transport C an..17 +-- +-- Dependencies: 'simple8178', 'simple8179'. +compositeC228 :: Parser Value +compositeC228 = + composite "C228" + [ "010" .@ optional simple8179 + , "020" .@ optional simple8178 + ] -- cgit v1.2.3