From 8661c7e42a6b6a374c30a6eaeb49cd77632a46dd Mon Sep 17 00:00:00 2001 From: Guillaume Martres <smarter@ubuntu.com> Date: Fri, 20 Sep 2019 11:26:06 +0200 Subject: [PATCH] Add fp warning --- week1/03-homework1.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/week1/03-homework1.md b/week1/03-homework1.md index ad11d97..7982d1c 100644 --- a/week1/03-homework1.md +++ b/week1/03-homework1.md @@ -14,7 +14,19 @@ You can always refer to: * [this guide](https://gitlab.epfl.ch/lamp/cs-210-functional-programming-2019/blob/master/week1/02-grading-and-submission.md) for details on the submission system. **Make sure to submit your assignment before the deadline written in [README.md](/README.md)** * [The documentation of the Scala standard library](https://www.scala-lang.org/files/archive/api/2.13.1) - * [The documentation of the Java standard library](https://docs.oracle.com/en/java/javase/11/docs/api/index.html) + * [The documentation of the Java standard + library](https://docs.oracle.com/en/java/javase/11/docs/api/index.html) + + +# Be functional! + +This course is about **functional** programming, where you'll learn to program +without using mutation, therefore you're not allowed to use the following +constructs in the homeworks: +- `var` +- `while` +- `return` +- Any class in the `scala.collection.mutable` package # Exercise 1: Pascal's Triangle -- GitLab