Functional Programming for 2nd year CS students at FMI / Sofia University.
The languages that are going to be covered are Racket and Haskell.
This is not the official repo but a mirror for the course in Moodle
- DrRacket - this is going to be the IDE for the course
- The Racket Guide - everything you need to get you started.
If you pick any of the books below, you will be really really ahead of others.
- Structure and Interpretation of Computer Programs, Second Edition
- How To Design Problems
- Learn You A Haskell for Great Good!
- The Haskell Book
If you are using command-line based racket repl, you can use the racket
command for the basic repl. But the basic repl sucks big time.
We suggest you to use the xrepl.
There are two ways to start it:
- Run
$ rackert -il xrepl
and you will start the xrepl. You will know if you get the->
prompt. - Run
$ racket
and inside it, type(dynamic-require 'xrepl #f)
. You will get the->
prompt again.
XREPL is much much better. Use it!