[GHC] #12507: Can't deduce implicit parameter
GHC
ghc-devs at haskell.org
Tue Aug 23 22:03:21 UTC 2016
#12507: Can't deduce implicit parameter
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
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):
Works with `Given` from reflection:
{{{#!hs
record :: Rec (Given Int, Given String)
record = give (1::Int) (give "hi" Rec)
access :: Int
access = record ? given @Int
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12507#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list