| Safe Haskell | Safe-Infered |
|---|
Guess.Combinator
Description
Guess a value for a combinator
Based on De-typechecker: converting from a type to a term by oleg at pobox.com http:www.haskell.orgpipermailhaskell2005-March015423.html
- combinator :: GuessCombinator t HNil => t
Documentation
combinator :: GuessCombinator t HNil => tSource
Guess a combinator given its type
Example:
>>>let f = combinator :: (b -> c) -> (a -> b) -> a -> c>>>f (:[]) ((,) True) 10[(True, 10)]