
#15532: Relaxing Levity-Polymorphic Binder Check for Lifted vs Unlifted pointers -------------------------------------+------------------------------------- Reporter: andrewthad | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.4.3 Resolution: | Keywords: | LevityPolymorphism Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: 14917 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by goldfire): RR-polymorphism (runtime-rep-polymorphism) actually has two different restrictions: we disallow RR-polymorphic binders and we also disallow RR- polymorphic function arguments. Your argument might hold water to lift the binder restriction, but I think we'll need to keep the function-argument restriction to avoid confusion around laziness. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15532#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler