SCC "ab cd"

Isaac Dupree isaacdupree at charter.net
Thu May 29 09:07:32 EDT 2008


Serge D. Mechveliani wrote:
> Dear GHC developers,
> 
> ghc-6.8.2  compiles  {-# SCC "ab cd" #-}   as all right.
> 
> And the GHC  candidate of May 27, 2008  reports the error:
> 
>     "spaces are not allowed in SCC". 
> 
> Do you think that this latter has more sense?
> Is not this a matter of the programmer to give string names to SCC 
> points?

see http://hackage.haskell.org/trac/ghc/ticket/2071 .  Agree or 
disagree.  "it probably never worked" -- Did you ever get any useful 
profiling information when you had spaces in your SCC?  Or did it just 
not work anyway (in which case a sooner error message is probably better)

-Isaac


More information about the Glasgow-haskell-users mailing list