From 4a48ef36947dc62dea074e2fcfa17e9675f2af15 Mon Sep 17 00:00:00 2001 From: Guillaume Martres <smarter@ubuntu.com> Date: Wed, 18 Sep 2019 19:56:44 +0200 Subject: [PATCH] 03-homework1.md: Add documentation links --- week1/03-homework1.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/week1/03-homework1.md b/week1/03-homework1.md index b401438..413daa1 100644 --- a/week1/03-homework1.md +++ b/week1/03-homework1.md @@ -13,6 +13,8 @@ You can always refer to: * [the example guide](https://gitlab.epfl.ch/lamp/cs-210-functional-programming-2019/blob/master/week1/01-example.md) on the development workflow. * [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) # Exercise 1: Pascal's Triangle @@ -72,6 +74,8 @@ exercise: - `chars.head: Char` returns the first element of the list - `chars.tail: List[Char]` returns the list without the first element +You can find more information on these methods in the [documentation of List](https://www.scala-lang.org/files/archive/api/2.13.1/scala/collection/immutable/List.html) + __Hint__: you can define an inner function if you need to pass extra parameters to your function. -- GitLab