
#9258: Type inference fails with closed type families -------------------------------------+------------------------------------ Reporter: augustss | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by josef): It's the monomorphism restriction kicking in. The module compiles just fine with `-XNoMonomorphismRestriction` and infers the expected type to `decrIn`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9258#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler