bugKawa - Bugs: bug #37352, Syntax shortcut for curried...


bug #37352: Syntax shortcut for curried functions

Submitted by:  Christoffer Sawicki <qerub>
Submitted on:  Fri 14 Sep 2012 03:49:12 PM UTC  
Category:  Scheme language Severity:  3 - Normal
Item Group:  Feature Request Status:  Postponed
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 16 Sep 2012 11:48:06 AM UTC, comment #2:

Fair enough! Thank you for considering.

Christoffer Sawicki <qerub>
Fri 14 Sep 2012 10:56:04 PM UTC, comment #1:

I'm not sure this is a good idea. I'm somewhat concerned about complicating the lambda syntax further, given that Kawa already supports #!optional and #keyword parameters. Furthermore, I've started exploring a more general pattern mechanism which would also be used in parameter lists, further complicating them. So I think it's best to first figure out how patterns are going to work, before considering this currying extension.

Per Bothner <bothner>
Project Administrator
Fri 14 Sep 2012 03:49:12 PM UTC, original submission:

Many Scheme implementations (including Racket, Chicken, Guile and Gauche) -- but not Kawa -- have a syntax shortcut for curried functions:

Could this be added to Kawa?

An implementation should basically not have do anything more than this:

An implementer should also keep rest arguments in mind:

Christoffer Sawicki <qerub>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by bothner (Posted a comment)
  • -email is unavailable- added by qerub (Submitted the item)
  • -email is unavailable- added by qerub

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-09-14 bothner StatusNone => Postponed
    2012-09-14 qerub Carbon-Copy- => Added -email is unavailable-

    Back to the top

    Powered by Savane 3.3