Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Consider the following LISP function that performs a transformation of an MxN matrix:

(defun transpose (matrix) (apply #'mapcar #'list matrix))

Based on my own experience I think I can say that It isn't until one has acquired a reasonable amount of experience with the language that they can fully appreciate its power.



Now try it with BQN




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: