[plt-scheme] PLT Scheme equivalent of destructuring-bind

From: Dave Herman (dherman at ccs.neu.edu)
Date: Tue Jun 3 10:51:15 EDT 2008

Some people prefer let-values for the special case of binding a sequence 
of names to a sequence of values, but that's a personal taste thing. But 
generally match-let is the right tool for destructuring bind.

Dave

steven_h at acm.org wrote:
> Hello,
> 
> Is match-let a good way to get the effect of destructuring-bind in PLT
> Scheme? It's working for me, but I wanted to make sure that there was
> no reason not to use it before throwing it around everywhere in my
> code. (I like destructuring-bind.)
> 
> Thanks,
> Steve
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme



Posted on the users mailing list.