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

https://github.com/weaming/haskell-demo


https://github.com/weaming/haskell-demo

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

## Compile Example

gch compile words.hs

## Introduce to these single file programs

### words.hs

Count the words in one file

./words < words.hs

Output:

a : 10
x : 8
map : 6
quicksort : 6
y : 6
let : 5
import : 4

### rpn.hs

rpn 3 4 + 2 *
# equal to (3+4)*2

### bmi.hs

Caculate your BMI.

### concat.hs

Concat two line.

#### capslocker.hs

Transfor text to uppercase.