Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
A type class whose behavior is specified by a method
Type of the first argument of thenMethod
,
representing the condition when the method is called
Type of the second argument of thenMethod
,
representing a method to be called.
thenMethod :: Condition x -> MethodOf x -> x Source #
Specify behavior from a pair of a condition and a method.