Syntax for splicing let form in lambda bodies #845

Open
opened 2023-09-14 08:55:46 +00:00 by vyzo · 1 comment
vyzo commented 2023-09-14 08:55:46 +00:00 (Migrated from github.com)

I propose this syntax:

(def (string-substitute-char ...)
  (let key =: key) ; notice the keyword to make the discriminant
  ...)

Originally posted by @vyzo in https://github.com/vyzo/gerbil/pull/826#discussion_r1325611962

I propose this syntax: ``` (def (string-substitute-char ...) (let key =: key) ; notice the keyword to make the discriminant ...) ``` _Originally posted by @vyzo in https://github.com/vyzo/gerbil/pull/826#discussion_r1325611962_
fare commented 2023-09-14 20:12:23 +00:00 (Migrated from github.com)

Nice syntax, but... what's the semantics?

Nice syntax, but... what's the semantics?
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mighty-gerbils/gerbil#845
No description provided.