Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Spain
- essay
- history
- comic agile
- Book
- erlang
- programming_book
- management
- Malaysia
- Book review
- Java
- leadership
- MySQL
- Italy
- program
- Software Engineering
- Linux
- web
- hadoop
- hbase
- ubuntu
- Artificial Intelligence
- Programming
- RFID
- django
- France
- QT
- agile
- Kuala Lumpur
- Python
Archives
- Today
- Total
목록Haskell (2)
Console 입력
$ vi hello2.hs -- hello2.ps 한 줄 주석은 --으로 시작 main = do -- do이하의 코드는 순서대로 실행 putStrLn "What's your name?" -- indentation으로 탭 문자는 사용 금지 buf
Programming
2009. 1. 31. 10:29
main = putStrLn "Hello, World"
http://haskell.springnote.com 1. install(Ubuntu, http://ubuntuprogramming.wikidot.com/haskell) $ sudo apt-get install ghc6 2. compile mode $ vi hello.hs main = putStrLn "Hello, World" $ ghc --make hello [1 of 1] Compiling Main ( hello.hs, hello.o ) Linking hello ... $ ./hello Hello, World $ 3. interpreter mode $ ghci GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help Loading package ba..
Programming
2009. 1. 31. 10:07