repositories
/
mTask.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
started with interpreter for basic language
[mTask.git]
/
gCons.dcl
diff --git
a/gCons.dcl
b/gCons.dcl
index
827c637
..
c43236a
100644
(file)
--- a/
gCons.dcl
+++ b/
gCons.dcl
@@
-10,7
+10,7
@@
definition module gCons
import StdGeneric
generic consName a :: a -> String
import StdGeneric
generic consName a :: a -> String
-derive consName CONS of {gcd_name},UNIT,PAIR,EITHER,OBJECT,RECORD,FIELD,Int,Bool,Char,(->)
+derive consName CONS of {gcd_name},UNIT,PAIR,EITHER,OBJECT,RECORD,FIELD,Int,Bool,Char,
String,
(->)
generic consIndex a :: a -> Int
generic consIndex a :: a -> Int
-derive consIndex CONS of {gcd_index},UNIT,PAIR,EITHER,OBJECT,Int,Bool,Char
+derive consIndex CONS of {gcd_index},UNIT,PAIR,EITHER,OBJECT,Int,Bool,Char
,String