
#15685: Pattern signature not inferred -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.6.1 Resolution: | Keywords: | PatternSynonyms 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 Iceland_jack): It can be more general with a heterogeneous equality `(~~)`, can `NP f` be "delayed" as well? This is the limit of my knowledge {{{#!hs pattern HereNil :: () => (nil_as ~~ ('[]:as)) => NS (NP f) nil_as }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15685#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler