diff options
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Simples/S4517.hs')
-rw-r--r-- | specification/src/Text/Edifact/D96A/Simples/S4517.hs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Simples/S4517.hs b/specification/src/Text/Edifact/D96A/Simples/S4517.hs new file mode 100644 index 0000000..9324410 --- /dev/null +++ b/specification/src/Text/Edifact/D96A/Simples/S4517.hs | |||
@@ -0,0 +1,26 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D96A.Simples.S4517 | ||
7 | ( simple4517 | ||
8 | ) where | ||
9 | |||
10 | import Text.Edifact.Parsing | ||
11 | import Text.Edifact.Types (Value) | ||
12 | |||
13 | -- | Derived from this specification: | ||
14 | -- | ||
15 | -- > 4517 Seal condition, coded | ||
16 | -- > | ||
17 | -- > Desc: To indicate the condition of a seal. | ||
18 | -- > | ||
19 | -- > Repr: an..3 | ||
20 | -- > | ||
21 | -- > 1 In right condition | ||
22 | -- > The seal is in right condition. | ||
23 | -- > 2 Damaged | ||
24 | -- > The seal is damaged. | ||
25 | simple4517 :: Parser Value | ||
26 | simple4517 = simple "4517" (alphaNumeric `upTo` 3) | ||