摘要:
学习步骤 1 函数式编程的思想 http://blog.csdn.net/crazyhacking/article/category/1280842 2 haskell初步 参考自己的学习笔记 3haskell进阶 学习资料 使用书本:《七周七语言》 英文书本: http://learn... 阅读全文
摘要:
注意处理相同的元素 1快排 qsort []=[] qsort (h:t)=(qsort(filter (h) t)) num (h:t)=filter (==h) (h:t) 2冒泡 (1) bubble_once [] = [] bubble_once [x] = [x] bu... 阅读全文
摘要:
-- Standard list functions module PreludeList ( map, (++), filter, concat, concatMap, head, last, tail, init, null, length, (!!), f... 阅读全文