MetaObject-0.0.6.20150815: A meta-object system for Haskell based on Perl 6

Safe HaskellNone
LanguageHaskell98

MO.Capture

Synopsis

Documentation

data Capt a Source

a Capture is a frozen version of the arguments to an application.

Constructors

CaptMeth 

Fields

c_invocant :: a
 
c_feeds :: Seq (Feed a)
 
CaptSub 

Fields

c_feeds :: Seq (Feed a)
 

Instances

Eq a => Eq (Capt a) 
Ord a => Ord (Capt a) 
Show a => Show (Capt a) 
Typeable (* -> *) Capt 

data Feed a Source

non-invocant arguments.

Constructors

MkFeed 

Fields

f_positionals :: Seq a
 
f_nameds :: AtomMap (Seq a)

maps to [:a:] and not a since if the Sig stipulates x, "x => 1, x => 2" constructs x = (1, 2).

Instances

Eq a => Eq (Feed a) 
Ord a => Ord (Feed a) 
Show a => Show (Feed a) 
Monoid (Feed a) 
Typeable (* -> *) Feed