Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CS-210 Functional Programming 2019
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Taha Zakariya
CS-210 Functional Programming 2019
Commits
b9900a60
Commit
b9900a60
authored
5 years ago
by
Nicolas Alexander Stucki
Browse files
Options
Downloads
Patches
Plain Diff
Add back a hint
parent
7609cb21
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
recitation-sessions/recitation-session-2.md
+3
-0
3 additions, 0 deletions
recitation-sessions/recitation-session-2.md
with
3 additions
and
0 deletions
recitation-sessions/recitation-session-2.md
+
3
−
0
View file @
b9900a60
...
...
@@ -46,6 +46,9 @@ Define the function `curry2`, that curries a two arguments function. That is, `c
def
curry2
(
f
:
(
Double
,
Int
)
=>
Boolean
)
:
Double
=>
(
Int
=>
Boolean
)
=
???
```
_Hint_
: what should
`curry2((x, y) => x < y)(1.0)`
return?
## Exercise 3.2
Define the function
`uncurry2`
. It takes a curried function, and creates a two-argument function.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment