Changeset 3887 for src/Pugs/Types.hs

Show
Ignore:
Timestamp:
05/26/05 02:17:16 (4 years ago)
Author:
autrijus
svk:copy_cache_prev:
5477
Message:

* Method invocation into Perl 5 now carries the current

context around.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Types.hs

    r3210 r3887  
    7575isVoidCxt   _             = False 
    7676 
     77-- |Return the Perl 5 calling convention bit value for the context 
     78enumCxt :: (Num a) => Cxt -> a 
     79enumCxt CxtVoid       = 128 
     80enumCxt (CxtItem _)   = 0 
     81enumCxt (CxtSlurpy _) = 1 
     82 
    7783-- |Make a type value representing the type with the specified name. 
    7884-- Recognises conjunctive (&) and disjunctive (|) types.