Chinaunix首页 | 论坛 | 博客
  • 博客访问: 853379
  • 博文数量: 581
  • 博客积分: 7803
  • 博客等级: 少将
  • 技术积分: 3653
  • 用 户 组: 普通用户
  • 注册时间: 2007-04-27 08:21
文章分类

全部博文(581)

文章存档

2013年(7)

2012年(414)

2011年(159)

2009年(1)

分类:

2012-04-19 12:49:24

原文地址:haskell常用内置函数 作者:bailiangcn


Prelude.hs

Prelude.hs is the standard library which is loaded when you start Haskell, and it contains all the functions you have learned so far. Here's my pick of the most useful. Note that just knowing about these functions ain't gonna help you; knowing how to use them is the key! So, lots of practice is essential.

List processing basics

  • Extra list processing

  • Arithmetic

  • Higher Order Functions
    Map, fold and filter are so powerful, they've been put on instead.


    Tuples


  • Other functions


  • List processing basics

    No examples needed here I hope :)

    instead.

    Tuples
    阅读(1066) | 评论(0) | 转发(0) |
    给主人留下些什么吧!~~