This commit is contained in:
Achim D. Brucker 2007-04-03 12:15:51 +00:00
parent f498c9cb19
commit 034b0e774b
1 changed files with 9 additions and 1 deletions

View File

@ -27,6 +27,7 @@ signature OCL_LIBRARY=
sig
val oclLib : Rep_Core.Classifier list
val OclLibPackage : string
val is_oclLib : Rep_Core.Classifier -> bool
end
structure OclLibrary : OCL_LIBRARY=
@ -34,7 +35,14 @@ struct
open Rep_Core
open Rep_OclType
val OclLibPackage="oclLib"
fun is_oclLib c = let
fun listin _ [] = false
| listin e (x::xs) = if e=x then true else listin e xs
in
listin oclLib c
end
val oclLib =
[Template
{