gerbil icon indicating copy to clipboard operation
gerbil copied to clipboard

Syntax for splicing let form in lambda bodies

Open vyzo opened this issue 2 years ago • 1 comments

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

vyzo avatar Sep 14 '23 08:09 vyzo

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

fare avatar Sep 14 '23 20:09 fare