
#13865: Add to Data.Proxy a utility function proxy :: a -> Proxy a -------------------------------------+------------------------------------- Reporter: louispan | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: 8.2.1 Component: libraries/base | Version: 8.0.1 Resolution: | Keywords: Proxy 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 RyanGlScott): Hi louispan, It's worth noting that `Proxy` is an instance of `Applicative`, so your proposed `proxy` function is simply `pure`. Does that address your needs? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13865#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler