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

Fix escape in "Your First OCaml Program" #1846

Merged
merged 1 commit into from Dec 12, 2023
Merged

Conversation

J3RN
Copy link
Contributor

@J3RN J3RN commented Dec 11, 2023

I believe that the escaping of the backslash is incorrect here, as it prints the following to the terminal:

Hello World!\n

I don't think the newline escape is intended to be printed like that (and isn't in later examples).

I _believe_ that the escaping of the backslash is incorrect here, as it prints
```
Hello World!\n
```
to the terminal and I don't think the newline escape is intended to be printed like that.
Copy link
Collaborator

@sabine sabine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @J3RN!

@sabine sabine merged commit 4f0c38c into ocaml:main Dec 12, 2023
3 checks passed
oyenuga17 pushed a commit to oyenuga17/ocaml.org that referenced this pull request Dec 25, 2023
oyenuga17 pushed a commit to oyenuga17/ocaml.org that referenced this pull request Dec 25, 2023
oyenuga17 pushed a commit to oyenuga17/ocaml.org that referenced this pull request Dec 25, 2023
oyenuga17 pushed a commit to oyenuga17/ocaml.org that referenced this pull request Jan 8, 2024
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.

None yet

2 participants