[Hugs] #90: type inference failure in ghc/hugs extensions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Hugs] #90: type inference failure in ghc/hugs extensions

GHC-2
#90: type inference failure in ghc/hugs extensions
---------------------------------+------------------------------------------
 Reporter:  guest                |       Owner:  nobody
     Type:  defect               |      Status:  new  
 Priority:  major                |   Milestone:        
Component:  hugs                 |     Version:  200609
 Keywords:  instance extensions  |  
---------------------------------+------------------------------------------
 Oleg recently posted on the mailing list
 [hidden email] a magic coercion that makes pairs
 of numbers (x,y) behave as complex numbers.  Aside from
 context, the type should be (a,a).  The trick works with
 option -fglasgow-exts in ghc releases at least since 6.8.3.  However in
 hugs Sept 2006 under option -98, it fails type inference.  As I understand
 the documentation, option -98 is supposed to support the necessary
 extensions in common with ghc.

 Is the inconsistent handling of the attached fragment a bug,
 a feature, or perhaps an undefined corner of the semantics?

 Doug McIlroy
 [hidden email]

--
Ticket URL: <http://hackage.haskell.org/trac/hugs/ticket/90>
Hugs <http://www.haskell.org/hugs/>
Hugs 98, an interpreter for Haskell
_______________________________________________
Hugs-Bugs mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/hugs-bugs
Reply | Threaded
Open this post in threaded view
|

Re: [Hugs] #90: type inference failure in ghc/hugs extensions

GHC-2
#90: type inference failure in ghc/hugs extensions
------------------------+---------------------------------------------------
  Reporter:  guest      |       Owner:  nobody            
      Type:  defect     |      Status:  closed            
  Priority:  major      |   Milestone:                    
 Component:  hugs       |     Version:  200609            
Resolution:  duplicate  |    Keywords:  instance extensions
------------------------+---------------------------------------------------
Changes (by ross):

  * status:  new => closed
  * resolution:  => duplicate

Comment:

 duplicate of #89.

--
Ticket URL: <http://hackage.haskell.org/trac/hugs/ticket/90#comment:1>
Hugs <http://www.haskell.org/hugs/>
Hugs 98, an interpreter for Haskell
_______________________________________________
Hugs-Bugs mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/hugs-bugs