projects
/
lambda.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
formatting
[lambda.git]
/
exercises
/
assignment7.mdwn
diff --git
a/exercises/assignment7.mdwn
b/exercises/assignment7.mdwn
index
e9cf823
..
bfc171b
100644
(file)
--- a/
exercises/assignment7.mdwn
+++ b/
exercises/assignment7.mdwn
@@
-129,4
+129,7
@@
is the singleton function `\p. [p]`, and the composition operator is:
let j a = [a; a+1];;
let k b = [b*b; b+b];;
let j a = [a; a+1];;
let k b = [b*b; b+b];;
- (j >=> k) 7 (* ==> [49; 14; 64; 16] *)
+ (j >=> k) 7
+ (* which OCaml evaluates to:
+ - : int list = [49; 14; 64; 16]
+ *)