0

Haskell笔记 (9)—— typeclass

Posted by nanxiao on 一月 6, 2016 in Haskell笔记 |

Typeclass顾名思义:type的class,类型的分类,同Java中的interface类似。参看下例: […]

标签:

0

Haskell笔记 (8)—— 类型变量(type variables)

Posted by nanxiao on 一月 5, 2016 in Haskell笔记 |

参看下面程序: > :t head head :: [a] -> a 这里的a不是type(Has […]

标签:

0

Haskell笔记 (7)—— 类型

Posted by nanxiao on 十二月 8, 2015 in Haskell笔记 |

(1) Haskell requires type names to start with an upperc […]

标签:

0

Haskell笔记 (6)—— 字符串

Posted by nanxiao on 十二月 8, 2015 in Haskell笔记 |

(1) The empty string is written “”, and is […]

标签:

0

Haskell笔记 (5)—— ghci

Posted by nanxiao on 十二月 8, 2015 in Haskell笔记 |

(1) ghci stores the result of the last expression into […]

标签:

0

Haskell笔记 (4)—— 用前缀方法书写表达式

Posted by nanxiao on 十二月 1, 2015 in Haskell笔记 |

The infix style of writing an expression is just a conv […]

标签:

0

Haskell笔记 (3)—— list和tuple

Posted by nanxiao on 十一月 30, 2015 in Haskell笔记 |

(1) Because strings are lists, we can use list function […]

标签:

0

Haskell笔记 (2)—— if语句

Posted by nanxiao on 十一月 26, 2015 in Haskell笔记 |

(1) The difference between Haskell’s if statement […]

标签:

0

Haskell笔记 (1)—— 函数

Posted by nanxiao on 十一月 26, 2015 in Haskell笔记 |

(1) In Haskell, functions are called by writing the fun […]

标签:

Copyright © 2013-2017 我的站点 All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.