diff options
Diffstat (limited to 'functor/h2.hs')
-rw-r--r-- | functor/h2.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/functor/h2.hs b/functor/h2.hs new file mode 100644 index 0000000..54be77c --- /dev/null +++ b/functor/h2.hs @@ -0,0 +1,2 @@ +instance Functor ((->) e) where + fmap = (.) |