
#11011: Add type-indexed type representations (`TypeRep a`) -------------------------------------+------------------------------------- Reporter: bjmprice | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by goldfire): Yes, I see your point. I guess I have indeed done something silly and that `unsafeCoerce` may be the only way forward. This means that an invalid input file could cause a segfault. But I suppose that's just the old "garbage in, garbage out" situation. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11011#comment:29 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler