diff options
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Composites/C056.hs')
-rw-r--r-- | specification/src/Text/Edifact/D96A/Composites/C056.hs | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Composites/C056.hs b/specification/src/Text/Edifact/D96A/Composites/C056.hs new file mode 100644 index 0000000..9bd5a02 --- /dev/null +++ b/specification/src/Text/Edifact/D96A/Composites/C056.hs | |||
@@ -0,0 +1,35 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D96A.Composites.C056 | ||
7 | ( -- * Definition | ||
8 | compositeC056 | ||
9 | -- * Dependencies | ||
10 | , simple3412 | ||
11 | , simple3413 | ||
12 | ) where | ||
13 | |||
14 | import Text.Edifact.D96A.Simples (simple3412, simple3413) | ||
15 | |||
16 | import Text.Edifact.Parsing | ||
17 | import Text.Edifact.Types (Value) | ||
18 | |||
19 | -- | Derived from this specification: | ||
20 | -- | ||
21 | -- > C056 DEPARTMENT OR EMPLOYEE DETAILS | ||
22 | -- > | ||
23 | -- > Desc: Code and/or name of a department or employee. Code | ||
24 | -- > preferred. | ||
25 | -- > | ||
26 | -- > 010 3413 Department or employee identification C an..17 | ||
27 | -- > 020 3412 Department or employee C an..35 | ||
28 | -- | ||
29 | -- Dependencies: 'simple3412', 'simple3413'. | ||
30 | compositeC056 :: Parser Value | ||
31 | compositeC056 = | ||
32 | composite "C056" | ||
33 | [ "010" .@ optional simple3413 | ||
34 | , "020" .@ optional simple3412 | ||
35 | ] | ||