I'm worried about the name. The concerns are that name destructuring in
programming mean getting data about of structure. This is how
destructure-bind work in common lisp[1] or JavaScript[2]. I would not call
pattern matching on list destructuring. Those two full name have additional
word like bind
Dear Shawn,
thank you for taking a look at my newest SRFI.
The list-case form is without bells and whistles on purpose, so it
basically does one thing. (Compare with the receive form of SFRI 8,
which is not as general as let-values but does the thing it was
invented for, namely receiving multipl
An optional additional case to match a list with a single element would be
nice. Something like
[(⟨variable⟩) ⟨body⟩]
Sure, you could use the pair match and then see if the cdr variable is '(),
but that adds a lot of noise.
(I suppose this could be generalized to having n ⟨variable⟩s match a