Last change
on this file since 330 was 2, checked in by KOBAYASHI, Shinji, 16 years ago |
restructure project tree
|
File size:
952 bytes
|
Line | |
---|
1 | module Archetype where
|
---|
2 |
|
---|
3 | import List
|
---|
4 | import Data.Tree
|
---|
5 |
|
---|
6 | type V_STRING = String
|
---|
7 | type V_IDENTIFIER = String
|
---|
8 | type V_LOCAL_TERM_CODES = String
|
---|
9 |
|
---|
10 | data Archetype = Archetype {
|
---|
11 | arch_identification :: ArchIdentification
|
---|
12 | arch_specialisation :: ArchSpecialisation
|
---|
13 | arch_concept :: ArchConcept
|
---|
14 | arch_language :: ArchLanguage
|
---|
15 | arch_description :: ArchDescription
|
---|
16 | arch_definition :: ArchDefinition
|
---|
17 | arch_invariant :: ArchInvariant
|
---|
18 | arch_ontology :: ArchOntology
|
---|
19 | }
|
---|
20 |
|
---|
21 | ArchIdentification :: ArchIdentification {
|
---|
22 | code :: String, desc :: String}
|
---|
23 |
|
---|
24 | data Language = Langage {
|
---|
25 | orig :: String, translation :: [Translation]}
|
---|
26 |
|
---|
27 | data Translation = Translation {
|
---|
28 | symbol :: String, lang :: String, author :: Author }
|
---|
29 | data Author = Author {
|
---|
30 | name :: String, organization :: String,
|
---|
31 | date :: String, email :: String }
|
---|
32 | data Description = Description {
|
---|
33 | orig :: Author, details :: [Details],
|
---|
34 |
|
---|
35 |
|
---|
36 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.