in reply to Re: Re: creating a particular hash
in thread creating a particular hash
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 ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(Ovid - chaining operators) Re(4): creating a particular hash
by Ovid (Cardinal) on Jun 01, 2001 at 19:26 UTC | |
by Henri Icarus (Beadle) on Jun 02, 2001 at 09:41 UTC |