Also, because I am converting a lot of lisp and scheme code, I dont really like cond very much.
In Perl, I can be much more concise:
The equivalent cond I do find a bit harder to follow.return undef if !$bindings ; return (extend $bindings) if (var_match $pattern) ; return pat_match(rest $input) if @$input ;
In reply to Re: Re: Re: creating a particular hash
by princepawn
in thread creating a particular hash
by michellem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |