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/Segments/COM.hs | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 specification/src/Text/Edifact/D01B/Segments/COM.hs (limited to 'specification/src/Text/Edifact/D01B/Segments/COM.hs') diff --git a/specification/src/Text/Edifact/D01B/Segments/COM.hs b/specification/src/Text/Edifact/D01B/Segments/COM.hs new file mode 100644 index 0000000..b437259 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Segments/COM.hs @@ -0,0 +1,35 @@ +{-# LANGUAGE OverloadedStrings #-} + +---- Machine generated code. +---- Output of edi-parser-scaffolder + +module Text.Edifact.D01B.Segments.COM + ( -- * Definition + segmentCOM + -- * Dependencies + , compositeC076 + ) where + +import Text.Edifact.D01B.Composites (compositeC076) + +import Text.Edifact.Parsing +import Text.Edifact.Types (Value) + +-- | Derived from this specification: +-- +-- > COM COMMUNICATION CONTACT +-- > +-- > Function: To identify a communication number of a +-- > department or a person to whom communication +-- > should be directed. +-- > +-- > 010 C076 COMMUNICATION CONTACT M 3 +-- > 3148 Communication address identifier M an..512 +-- > 3155 Communication address code qualifier M an..3 +-- +-- Dependencies: 'compositeC076'. +segmentCOM :: Parser Value +segmentCOM = + segment "COM" + [ "010" .@ mandatory compositeC076 + ] -- cgit v1.2.3