repositories
/
tt2015.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
makefile fix and table with results so far added to ex3
[tt2015.git]
/
a3
/
code
/
Generics
/
GenMap.dcl
1
definition module GenMap
2
3
import StdGeneric
4
5
generic gMap a b :: .a -> .b
6
derive gMap c, PAIR, EITHER, CONS, FIELD, OBJECT, {}, {!}
7
8
derive gMap [], (,), (,,), (,,,), (,,,,), (,,,,,), (,,,,,,), (,,,,,,,)