#2880: GHC panic when printing Unique
------------------------------+---------------------------------------------
 Reporter:  sebf              |          Owner:                  
     Type:  bug               |         Status:  closed          
 Priority:  normal            |      Milestone:                  
Component:  Compiler          |        Version:  6.10.1          
 Severity:  normal            |     Resolution:  fixed           
 Keywords:                    |       Testcase:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
------------------------------+---------------------------------------------
Changes (by sebf):

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

Comment:

 Thank you for the clarifications! I have not been aware that using
 UniqSupply requires any additional initialization and thought the message
 referred to something that is usually done but forgotten.

 What would be the preferred thing to do, when writing a library that needs
 unique identifiers? Reimplement them, put them on Hackage/github and hope
 that GHC experts find the time to optimize them like their own? A package
 on Hackage that can be used by ghc *and* other libraries seems preferable.
 But I don't know how easy or difficult it is to factor out uniques from
 ghc...

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2880#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to