What to do after Python?

bowman bowman at montana.com
Mon Feb 19 00:30:22 EST 2001


Johann Hibschman <johann at physics.berkeley.edu> wrote in message
news:mtelwvbe3e.fsf at astron.berkeley.edu...
>
> as the right way to square a vector is, well, not quite the way I'd
> want to do that.  Personally, I prefer something like
>
> (map-into (make-vector (length vec))
>           #'(lambda (x) (* x x))
>           vec)

that looks quite verbose too. my APL is incredibly rusty, but I think about
5 characters  would do the job. :)







More information about the Python-list mailing list