Date: 2007-06-19 03:55 am (UTC)
>А map в map-е хрен сольёшь

Ага, я тоже поиграл и понял, что не пойдёт. Для работы с матрицами нужно какое-то внешнее произведение

outerProductWith :: (a->b->c)->[a]->[b]->[[c]]

расширяющее zipWith (чтобы каждый a с каждым b). Реализацию оставляем в качестве упражнения заинтересованному читателю :-)
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

lomeo: (Default)
Dmitry Antonyuk

September 2025

S M T W T F S
 123456
78910111213
14 151617181920
21222324252627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 27th, 2026 09:31 pm
Powered by Dreamwidth Studios