Changeset 6008 for src/Pugs/Types

Show
Ignore:
Timestamp:
08/02/05 23:21:01 (3 years ago)
Author:
putter
svk:copy_cache_prev:
8154
Message:

VRule, which formerly appeared as Rule, now appears as Pugs::Internals::VRule, which does a new role Rule. All t/ ext/ and t_disabled/ tests work. This is a preliminary to having additional regex engines.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Types/Rule.hs

    r2441 r6008  
    22class (Typeable a) => RuleClass a where 
    33    rule_iType :: a -> Type 
    4     rule_iType = const $ mkType "Rule" 
     4    rule_iType = const $ mkType "Pugs::Internals::VRule" 
    55    rule_fetch :: a -> Eval VRule 
    66    rule_store :: a -> VRule -> Eval ()