Changeset 16421

Show
Ignore:
Timestamp:
05/18/07 00:30:50 (18 months ago)
Author:
audreyt
Message:

* DrIFT.YAML: GHC 6.6 doesn't export the Any type, so we

disable the "seen/cleanSeen" cache in DrIFT.YAML now.

Location:
src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • src/DrIFT/YAML.hs

    r16410 r16421  
    232232    fromYAMLElem e = fail $ "no parse: " ++ show e ++ ", expecting " ++ show (typeOf (undefined :: (a, b, c))) 
    233233 
     234{- 
    234235{-# NOINLINE seen #-} 
    235236seen :: Hash.HashTable SYMID Any 
     
    240241    kvs <- Hash.toList seen 
    241242    mapM_ (Hash.delete seen . fst) kvs 
     243-} 
    242244 
    243245instance (Typeable a, YAML a) => YAML (TVar a) where 
  • src/Pugs/Run.hs

    r16373 r16421  
    277277        -- print "Loading yaml..." 
    278278        --(glob, ast) <- fromYAML yml 
    279         cleanSeen 
     279        -- cleanSeen 
    280280        MkCompUnit _ glob ast <- io $ fromYAML yml 
    281281        -- print "Loading done!"