I hereby claim:
- I am jonathanlorimer on github.
- I am jonathanlorimer (https://keybase.io/jonathanlorimer) on keybase.
- I have a public key ASAb-Ce7Wm_xSErNRTLCnG7b_wupUYXxu9JujmOK-b-r6wo
To claim this, I am signing this object:
{-# LANGUAGE FlexibleInstances #-} | |
module FunctorInstancesExercises where | |
-- | 1. | |
data Quant a b = Finance | |
| Desk a | |
| Bloor b | |
instance Functor (Quant a) where |
module FunctorInstances where | |
import Test.QuickCheck | |
newtype Identity a = Identity a | |
deriving (Eq, Show) | |
instance Functor Identity where | |
fmap f (Identity a) = Identity (f a) |
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<style> | |
body { | |
margin: 0px; | |
padding: 0px; | |
} | |
</style> | |
</head> |