diff options
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Composites/C503.hs')
-rw-r--r-- | specification/src/Text/Edifact/D96A/Composites/C503.hs | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Composites/C503.hs b/specification/src/Text/Edifact/D96A/Composites/C503.hs new file mode 100644 index 0000000..059b89b --- /dev/null +++ b/specification/src/Text/Edifact/D96A/Composites/C503.hs | |||
@@ -0,0 +1,42 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D96A.Composites.C503 | ||
7 | ( -- * Definition | ||
8 | compositeC503 | ||
9 | -- * Dependencies | ||
10 | , simple1004 | ||
11 | , simple1366 | ||
12 | , simple1373 | ||
13 | , simple3453 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D96A.Simples (simple1004, simple1366, simple1373, | ||
17 | simple3453) | ||
18 | |||
19 | import Text.Edifact.Parsing | ||
20 | import Text.Edifact.Types (Value) | ||
21 | |||
22 | -- | Derived from this specification: | ||
23 | -- | ||
24 | -- > C503 DOCUMENT/MESSAGE DETAILS | ||
25 | -- > | ||
26 | -- > Desc: Identification of document/message by number, status, | ||
27 | -- > source and/or language. | ||
28 | -- > | ||
29 | -- > 010 1004 Document/message number C an..35 | ||
30 | -- > 020 1373 Document/message status, coded C an..3 | ||
31 | -- > 030 1366 Document/message source C an..35 | ||
32 | -- > 040 3453 Language, coded C an..3 | ||
33 | -- | ||
34 | -- Dependencies: 'simple1004', 'simple1366', 'simple1373', 'simple3453'. | ||
35 | compositeC503 :: Parser Value | ||
36 | compositeC503 = | ||
37 | composite "C503" | ||
38 | [ "010" .@ optional simple1004 | ||
39 | , "020" .@ optional simple1373 | ||
40 | , "030" .@ optional simple1366 | ||
41 | , "040" .@ optional simple3453 | ||
42 | ] | ||