forgetting SCC

Serge D. Mechveliani mechvel at botik.ru
Sun Jan 31 14:09:42 EST 2010


I have a suggestion: 
is it better for GHC to report an error on the source of kind
                                                         {-# "foo" #-}  
(entered by a typo instead of  {-# SCC "foo" #-}) ?
Currently, GHC makes the program under (-prof) in which, the "foo" center 
occurs skipped. This misleads the user: 
"foo  is not in the profiling head, so it takes zero cost".

Regards, 

-----------------
Serge Mechveliani
mechvel at botik.ru


More information about the Glasgow-haskell-users mailing list