Skip to content

Add the second set of exercies: functions#14

Open
pitag-ha wants to merge 2 commits intogs0510:mainfrom
pitag-ha:functions
Open

Add the second set of exercies: functions#14
pitag-ha wants to merge 2 commits intogs0510:mainfrom
pitag-ha:functions

Conversation

@pitag-ha
Copy link
Collaborator

@pitag-ha pitag-ha commented Mar 19, 2021

Since functions are quite important in OCaml, this section doesn't cover eveything ofronds should teach about them. A good place for a second set of exercises about functions would be after introducing immutability, conditionals and basic pattern matching.

The first comit adds let in bindings and local scoping to the section about variables. Introducing them there already helps to keep first section about functions a bit shorter.

Co-authored-by: Gargi Sharma gs051095@gmail.com

pitag-ha and others added 2 commits March 19, 2021 23:04
The section about functions needs a lot of content. Introducing let in
bindings and local scoping already in variables helps to keep the section
about functions a bit shorter.

Co-authored-by: Gargi Sharma <gs051095@gmail.com>
Since functions are quite important in OCaml, this section doesn't cover
eveything ofronds should teach about them. A good place for a second set
of exercises about functions would be after introducing immutability,
conditionals and basic pattern matching.

Co-authored-by: Gargi Sharma <gs051095@gmail.com>
@pitag-ha pitag-ha changed the title Functions Add the second set of exercies: functions Mar 19, 2021
@pitag-ha pitag-ha requested a review from gs0510 March 19, 2021 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant