lambda-options-0.9.1.0: Declarative command line parser using type-driven pattern matching.

Safe HaskellSafe
LanguageHaskell2010

Text.LambdaOptions.Internal.Wrap

Documentation

class Wrap r f | f -> r where Source #

Minimal complete definition

wrap

Methods

wrap :: f -> OpaqueCallback r Source #

Instances

Monad m => Wrap (m b) (m b) Source # 

Methods

wrap :: m b -> OpaqueCallback (m b) Source #

(Monad m, Typeable * a, Wrap (m b) f) => Wrap (m b) (a -> f) Source # 

Methods

wrap :: (a -> f) -> OpaqueCallback (m b) Source #