haskell-ja > Archives > 2016/03/17
Built on
Chaton
Search
|
Badge
|
Tools
2016/02
2016/03
2016/03/01 (2)
2016/03/02 (3)
2016/03/03 (1)
2016/03/04 (1)
2016/03/05 (0)
2016/03/06 (0)
2016/03/07 (2)
2016/03/08 (1)
2016/03/09 (1)
2016/03/10 (1)
2016/03/11 (4)
2016/03/12 (0)
2016/03/13 (0)
2016/03/14 (0)
2016/03/15 (0)
2016/03/16 (1)
2016/03/17 (5)
2016/03/18 (1)
2016/03/19 (0)
2016/03/20 (1)
2016/03/21 (0)
2016/03/22 (1)
2016/03/23 (2)
2016/03/24 (19)
2016/03/25 (10)
2016/03/26 (14)
2016/03/27 (1)
2016/03/28 (0)
2016/03/29 (2)
2016/03/30 (1)
2016/03/31 (0)
2016/04
<< 2016/03/16
Back to the chat room
2016/03/18 >>
2016/03/17 06:10:57 UTC
ksmakoto
#
https://gist.github.com/metanest/e8c9546dde2f610f51d8
こんな感じでリストのリストの、各リストに対して並列に動作するflattenのようなものが、
#
標準であっても良さそうな、と思ったのですが、無いのは何か理由があったりするんでしょうか?
2016/03/17 10:24:30 UTC
ksmakoto
#
https://gist.github.com/metanest/b902cd7aaa5669794ce7
このようにガードで書くとちゃんと動くのにパターンマッチにするとダメなのは何故なんだ…
2016/03/17 13:01:40 UTC
nobsun
#
parFlatten = concat . transpose じゃだめですか?
2016/03/17 13:15:24 UTC
ksmakoto
#
あーなるほど。それでできたんですね
<< 2016/03/16
Back to the chat room
2016/03/18 >>