I hereby claim:
- I am chrisdotcode on github.
- I am chrisdotcode (https://keybase.io/chrisdotcode) on keybase.
- I have a public key ASA23Ytnm1fXlVU24qtxREmggH1jq158h9AvlF6QlLqdigo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
module Promise where | |
import Control.Applicative (Applicative(..)) | |
import Data.Monoid (Monoid(..)) | |
newtype Error = Error { unString :: String } deriving (Eq, Ord, Read, Show) | |
data Promise a = Failed Error | Deferred | Fulfilled a | |
deriving (Eq, Ord, Read, Show) |