MetaObject-0.0.3: A meta-object system for Haskell based on Perl 6ContentsIndex
MO.Compile
Documentation
type MethodName = Atom
class Monad m => Method m a | a -> m where
Methods
methodName :: a -> MethodName
methodCompile :: a -> MethodCompiled m
show/hide Instances
data SimpleMethod m
Constructors
MkSimpleMethod
sm_name :: MethodName
sm_definition :: MethodCompiled m
show/hide Instances
data AnyMethod m
Constructors
forall a . Method m a => MkMethod !a
show/hide Instances
newtype MethodCompiled m
Constructors
MkMethodCompiled
runMC :: Arguments m -> m (Invocant m)
Produced by Haddock version 2.1.0