Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pierre Letouzey
prog-lmfi
Commits
1d929b4f
Commit
1d929b4f
authored
Sep 12, 2019
by
Pierre Letouzey
Browse files
typo dans le type de compose
parent
93941f62
Changes
1
Hide whitespace changes
Inline
Side-by-side
ocaml/init-prog-ocaml-correction.md
View file @
1d929b4f
...
...
@@ -263,7 +263,7 @@ Ou de manière équivalente:
let
compose
f
g
x
=
f
(
g
(
x
))
```
Bien noter (et comprendre!) le type inféré par OCaml:
`('a->'b)->('c->'a)->'c->'
a
`
Bien noter (et comprendre!) le type inféré par OCaml:
`('a->'b)->('c->'a)->'c->'
b
`
Autre exemple : sommation d'une fonction
`f`
entre les entiers
`a`
et
`b`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment