r/programmingchallenges • • Sep 10 '11

Challenge: Hello, world!

I'm kind of interested in running xmonad and learning Haskell. Should we all tackle learning about a new programming paradigm?

9 Upvotes

21 comments sorted by

View all comments

Show parent comment

2

u/HigherFive Sep 10 '11

Oh I'm all for short code that makes no sense!

Have you seen matrix transposition in Scheme?

(apply map list m)

(A matrix is a list of lists - the matrix's rows. Transposing is the process of transforming it to a list of its columns)