Changeset 21673 for src/Pugs/Class.hs

Show
Ignore:
Timestamp:
08/01/08 13:56:05 (4 months ago)
Author:
audreyt
Message:

* Import Pugs 6.2.13.11 from Hackage into our source tree.
* Highlights:

  • Much faster startup time
  • Slightly faster compilation time (mostly due to refactored Pugs.AST.Internals)
  • Portable-to-Win32 readline thanks to Haskeline
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Class.hs

    r16507 r21673  
    2828import Pugs.AST.Eval 
    2929import Control.Monad.Fix 
    30 import qualified Data.Map as Map 
     30import qualified StringTable.AtomMap as AtomMap 
    3131import qualified Data.Typeable as Typeable 
    3232 
     
    173173    cast = (`MkMethodInvocation` CaptSub{ c_feeds = [::] }) . cast 
    174174 
    175 instance ((:>:) Call (ByteString, [Val], Map ID Val)) where 
    176     cast (meth, pos, named) = MkMethodInvocation (cast meth) CaptSub{ c_feeds = [: MkFeed (toP pos) (Map.map (\x -> [:x:]) named) :]} 
     175instance ((:>:) Call (ByteString, [Val], AtomMap Val)) where 
     176    cast (meth, pos, named) = MkMethodInvocation (cast meth) CaptSub 
     177        { c_feeds = [: MkFeed (toP pos) (AtomMap.map (\x -> [:x:]) named) :]} 
    177178