blob: 3d9b39562596cfa87bf8e949d54a3521fd40a809 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{-# LANGUAGE OverloadedStrings #-}
module Text.Edifact.Common.Segments.UNS
( segmentUNS
) where
import Text.Edifact.Common.Simples (simple0081)
import Text.Edifact.Parsing
import Text.Edifact.Types (Value)
-- | Derived from this specification:
--
-- > Change indicators
-- >
-- > UNS SECTION CONTROL
-- >
-- > Function: To separate Header, Detail and Summary sections of a message
-- >
-- > 010 0081 SECTION IDENTIFICATION M a1
--
-- Dependencies: 'simple0081'.
segmentUNS :: Parser Value
segmentUNS =
segment "UNS"
[ "010" .@ mandatory simple0081
]
|