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 languageSeverity: 3 - Normal
Item Group: Feature RequestStatus: Postponed
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 14 Sep 2012 10:56:04 PM UTCbothnerStatusNone=>Postponed
    Fri 14 Sep 2012 03:49:12 PM UTCqerubCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup