ghc-4.02  -c  T.hs   reports
                        panic! (the `impossible' happened):
                        Can't handle SPECIALISE with a '= g' part
for  
    module T where
    {-# SPECIALIZE f :: Int -> Int = g #-}

    f :: Num a => a -> a
    f             x =  x

    g = const 0


- though, the docs, it says such specialization is possible.


------------------
Sergey Mechveliani
[EMAIL PROTECTED]

Reply via email to