Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update functions.md call to apply #205

Merged
merged 1 commit into from
Feb 18, 2025
Merged

Conversation

evanalba
Copy link
Contributor

@evanalba evanalba commented Feb 5, 2025

To keep it consistent with OCaml language of:
In OCaml the usual vocabulary is that we “apply” the function rather than “call” it. Source of reference: https://cs3110.github.io/textbook/chapters/basics/toplevel.html

I fixed the typo:
Original Version:
You can then call a function with or without the argument: Fixed Version:
You can then apply the function with or without the argument:

To keep it consistent with OCaml language of:
In OCaml the usual vocabulary is that we “apply” the function rather than “call” it.
Source of reference: https://cs3110.github.io/textbook/chapters/basics/toplevel.html

I fixed the typo:
Original Version: 
You can then call a function with or without the argument:
Fixed Version: 
You can then apply the function with or without the argument:
@clarksmr clarksmr merged commit dbb40c8 into cs3110:main Feb 18, 2025
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.

2 participants