Changes between Initial Version and Version 5 of Ticket #3964


Ignore:
Timestamp:
Apr 29, 2010 1:20:47 PM (5 years ago)
Author:
igloo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3964

    • Property Cc uzytkownik2@… added
    • Property Owner set to simonpj
    • Property Summary changed from Impossible happened to Impossible happened when using ViewPattern in Arrows
  • Ticket #3964 – Description

    initial v5  
    11When I try to load file in ghci impossible happened: 
    2  
     2{{{ 
    33ghc: panic! (the 'impossible' happened) 
    44  (GHC version 6.12.1 for x86_64-unknown-linux): 
     
    88 
    99Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug 
    10  
     10}}} 
    1111Problematic function: 
     12{{{ 
    1213isOn :: ArrowChoice a => DSignal a c -> SF a b (Maybe c)                         
    1314isOn (DSignal _ f u) = let sf = SF $! \_ -> proc (_, s, e) ->                    
     
    1718                                 Nothing -> returnA -< (Nothing, s, sf)          
    1819                       in sf 
    19  
     20}}} 
    2021(Full sources will be attached. As it was found in-development so style may not be perfect)