
#15697: Typed holes inferring a more polymorphic type -------------------------------------+------------------------------------- Reporter: sreenidhi | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.6.1 Resolution: | Keywords: TypedHoles 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 Tritlo): Thanks for breaking it down, Ryan. I think this would be covered by what I call "more specific fits", like I touched on (i.e. suggesting `pi :: Floating a => a` for `_ :: Fractional a => a`). In those fits, we could also include fits that would be suggested if `MonoLocalBinds` were enabled. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15697#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler