]>
Commit | Line | Data |
---|---|---|
a9d77a20 FM |
1 | {-# LANGUAGE OverloadedStrings #-} |
2 | ||
3 | ---- Machine generated code. | |
4 | ---- Output of edi-parser-scaffolder | |
5 | ||
6 | module Text.Edifact.D01B.Composites.C056 | |
7 | ( -- * Definition | |
8 | compositeC056 | |
9 | -- * Dependencies | |
10 | , simple3412 | |
11 | , simple3413 | |
12 | ) where | |
13 | ||
14 | import Text.Edifact.D01B.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 name code C an..17 | |
27 | -- > 020 3412 Department or employee name 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 | ] |