Changeset 32 for src/Internals.hs

Show
Ignore:
Timestamp:
02/16/05 18:48:28 (4 years ago)
Author:
autrijus
svk:copy_cache_prev:
1041
Message:

* Code literals -- "sub", "pointy" and "bare" variants all works
* Lexical subroutine declarations via "my sub"
* Global subroutine and variables work again, via the envGlobal pad
* The "say", "exit", "die" primitives
* Bool.perl now prints correct literals (lwall)
* Blocks under void contexts now evaluates automatically
* The "..." (dotdotdot) literal

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Internals.hs

    r29 r32  
    7878    show = show . hashUnique 
    7979instance Show (a -> b) where 
    80     show f = "sub { ... }" 
     80    show f = "(->)" 
    8181instance Eq (a -> b) where 
    8282    _ == _ = False