On Mon, Sep 30, 2013 at 5:00 PM, Henning Thielemann <schlepptop@henning-thielemann.de> wrote:
Am 30.09.2013 16:56, schrieb David Luposchainsky:
On 2013-09-30 16:37, Stijn van Drongelen wrote:
I'm working on a desugaring library for Haskell. Desugaring
NPlusKPatterns currently takes up the most code, since a proper
translation involves generating two guards. Meanwhile, most other
pattern-related language extensions are defined in terms of
ViewPatterns, which are trivial to desugar.

In my laziness to fix this otherwise, I propose that the following
function is added to the Prelude: [...]

4. "My laziness" and golfing are not very good bases for a proposal.

Stijn, you might add the utility function to a custom library that is bundled with your preprocessor.

I immediately regret my decision of mailing this proposal to libraries@. You're right :)