diff options
Diffstat (limited to 'fp2/week2/mart/oldold/old/Map.dcl')
-rw-r--r-- | fp2/week2/mart/oldold/old/Map.dcl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/fp2/week2/mart/oldold/old/Map.dcl b/fp2/week2/mart/oldold/old/Map.dcl new file mode 100644 index 0000000..4848e1a --- /dev/null +++ b/fp2/week2/mart/oldold/old/Map.dcl @@ -0,0 +1,10 @@ +definition module Map
+
+//import BinTree
+import StdMaybe
+
+class Map c :: (a -> b) (c a) -> c b
+
+instance Map []
+instance Map Maybe
+//instance Map Tree
|