摘要:
daniel@daniel-mint /usr/lib/ghc/haskell2010-1.1.1.0 $ tree.├── Control│ └── Monad.hi├── Data│ ├── Array.hi│ ├── Bits.hi│ ├── Char.hi│ ├── Complex.hi│ ... 阅读全文
posted @ 2014-07-14 15:18
Daniel King
阅读(295)
评论(0)
推荐(0)
摘要:
参考:http://stackoverflow.com/a/9153617http://www.haskell.org/haskellwiki/How_to_write_a_Haskell_program 1 2 3 trizip :: [a] -> [b] -> [c] -> [(a,b,... 阅读全文
posted @ 2014-07-14 11:34
Daniel King
阅读(825)
评论(0)
推荐(0)
摘要:
1 trizip :: [a] -> [b] -> [c] -> [(a,b,c)] 2 trizip a b c 3 | null a = [] 4 | null b = [] 5 | null c = [] 6 trizip (x:x... 阅读全文
posted @ 2014-07-14 11:02
Daniel King
阅读(207)
评论(0)
推荐(0)

浙公网安备 33010602011771号