
#14370: improve documentation of -fdefer-typed-holes for naked expressions in ghci -------------------------------------+------------------------------------- Reporter: int-e | Owner: (none) Type: task | Status: new Priority: normal | Milestone: Component: Documentation | Version: 8.2.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect | Unknown/Multiple error/warning at compile-time | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by sighingnow): I think that the `Opt_DeferOutOfScopeVariables` isn't cancelled for naked expression in ghci should be a bug. Allowing `length [r]` is also unhelpful and may lead to some confusion for newcomers. I think this should be fixed as well. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14370#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler