An open API service indexing awesome lists of open source software.

https://github.com/elliothux/learninghaskell

Teach myself haskell
https://github.com/elliothux/learninghaskell

haskell

Last synced: 7 months ago
JSON representation

Teach myself haskell

Awesome Lists containing this project

README

          

## Haskell Learning

### GHC
* __编译__:
输入 `ghc --make ./helloworld`
编译 `helloworld.hs` 到 `helloworld` 二进制文件

### GHCI
* __进入交互模式__:
输入 `ghci`
然后在 ghci 中输入: `:l `

* __重新载入__:
修改文件后使用 `:r` 重新载入

* __查看类型__:
`:t `

### Table of Content
__[01. Hello World](https://github.com/HuQingyang/HaskellLearning/blob/master/01%20-%20HelloWorld/helloworld.hs)__
__[02. List](https://github.com/HuQingyang/HaskellLearning/blob/master/02%20-%20List/list.hs)__
__[03. Range](https://github.com/HuQingyang/HaskellLearning/blob/master/03%20-%20Range/range.hs)__
__[04. Tuple](https://github.com/HuQingyang/HaskellLearning/blob/master/04%20-%20Tuple/tuple.hs)__
__[05. Types and TypeClass](https://github.com/HuQingyang/HaskellLearning/blob/master/05%20-%20Types/types.hs)__
__[06. Function、Pattern Matching、Guard、Let and Case](https://github.com/HuQingyang/HaskellLearning/blob/master/06%20-%20Function/function.hs)__
__[07. Recursive](https://github.com/HuQingyang/HaskellLearning/blob/master/07%20-%20Recursive/recursive.hs)__
__[08. High-order Function](https://github.com/HuQingyang/HaskellLearning/blob/master/08%20-%20Higher-order%20Function/higherOrderFunction.hs)__
__[09. Lambda](https://github.com/HuQingyang/HaskellLearning/blob/master/09%20-%20Lambda/lambda.hs)__
__[10. Function Application and Function Composition](https://github.com/HuQingyang/HaskellLearning/blob/master/10%20-%20Function%20Application%20and%20Function%20Composition/functionApplication.hs)__
__[11. Modules](https://github.com/HuQingyang/HaskellLearning/tree/master/11%20-%20Modules)__