-
Notifications
You must be signed in to change notification settings - Fork 5
/
05-pretty.scala
32 lines (30 loc) · 972 Bytes
/
05-pretty.scala
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
31
32
// Notes from the 5th exercise session of the course
// "Programming Languages I" at Tübingen University.
// Winter term 2014/2015.
// (notes pending)
// HOMEWORK ASSIGNMENT
// ===================
//
// Email homework as Scala source file to:
//
//
// Work in groups of 1 or 2 students. Send the email CC to the
// other student in your team. Hand in before the morning of
// Monday, November 24.
//
//
// Put "pl1-hw03" in subject, please
//
// 0. write in the email:
// - your names
// - your student ids ("Matrikelnummer")
// 1. add booleans (incl. a conditional statement) to FAE
// 2. change the FAE interpreter to only close over free variables
//
// About task 2: The FAE interpreter from the lecture always puts
// the whole environment in the closure, but it would be enough
// to store the bindings for all free variables of the function.
//
//
// Send question by email to [email protected]