[Haskell-cafe] RFC: rewrite-with-location proposal

Kim-Ee Yeoh ky3 at atamo.com
Mon Feb 25 18:30:52 CET 2013


On Mon, Feb 25, 2013 at 9:42 PM, Simon Peyton-Jones
<simonpj at microsoft.com>wrote:

> One idea I had, which that page does not yet describe, is to have an
> implicit parameter,
> something like ?loc::Location**
>
>
+1

Implicit params has a bad rap in some circles because of counterintuitive
behavior when manually binding the parameter (the syntax is partly to
blame).

Since ?loc is never bound by hand, there should be no problems.

-- Kim-Ee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130226/4c4c24ad/attachment.htm>


More information about the Haskell-Cafe mailing list