English
Português
Log In
Username
Password
Log in
or
Have you forgotten your password?
Communities & Collections
All of DSpace
English
Português
Log In
Username
Password
Log in
or
Have you forgotten your password?
Home
Documental Repository
Non INESC TEC publications
Browse by Author
Non INESC TEC publications
Permanent URI for this community
http://localhost:4000/handle/123456789/4245
Browse
Subcommunities and Collections
By Title
By Issue Date
By Author
By Subject
Subcommunities and Collections
By Title
By Issue Date
By Author
By Subject
Browsing Non INESC TEC publications by Author "5631"
0-9
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
(Choose start)
0-9
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Browse
Results Per Page
1
5
10
20
40
60
80
100
Sort Options
Ascending
Descending
Item
Watch out for that tree! A tutorial on shortcut deforestation
(
2019
)
Saraiva,J
;
João Paulo Fernandes
;
Cunha,J
;
Pardo,A
;
5631
Functional programmers are strong enthusiasts of modular solutions to programming problems. Since software characteristics such as readability or maintainability are often directly proportional to modularity, this programming style naturally contributes to the beauty of functional programs. Unfortunately, in return of this beauty we often sacrifice efficiency: modular programs rely, at runtime, on the creation, use and elimination of intermediate data structures to connect its components. In this tutorial paper, we study an advanced technique that attempts to retain the best of this two worlds: (i) it allows programmers to implement beautiful, modular programs (ii) it shows how to transform such programs, in a way that can be incorporated in a compiler, into programs that do not construct any intermediate structure. © 2019, Springer Nature Switzerland AG.
Previous
Next