JiPP lab
Location and time
Mondays, 16:15 - 18:00 (3045), and Fridays, 12:15 - 14:00 (2044).
Solutions to exercises
Additional exercises (optional)
- Implement the reverse function using fold. Hint: base your implementation on the accumulator-based version of reverse.
- Implement the Newton-Raphson algorithm (as explained in Hughes - Why Functional Programming Matters) in Haskell. Additionally, you can use the Rational type in the Data.Ratio module to try and compute a large number of decimals of square roots.
Additional material/sources
E-mail: jwinter@mimuw.edu.pl