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

Typo fix docs number notation #472

Merged
merged 1 commit into from
Jun 23, 2024
Merged

Typo fix docs number notation #472

merged 1 commit into from
Jun 23, 2024

Conversation

mgenser
Copy link
Contributor

@mgenser mgenser commented Jun 21, 2024

Hi!

I just stumbled across this project and scrolled through your documentation. Great project!

In the convert number section of the number notation page are the following examples:

0xffee to bin
42 ot oct
2^16 - 1 to hex

I started a repl to try out this example: 42 ot oct
Which resulted in this error:

42 ot oct
error: while type checking
┌─ input:3:1:4

1 │ 42 ot oct
│ ^^ unknown identifier

The same example with the typo fixed works fine:

42 to oct

oct(42)

= 0o52    [String]

@sharkdp sharkdp merged commit 10a6d4c into sharkdp:master Jun 23, 2024
15 checks passed
@sharkdp
Copy link
Owner

sharkdp commented Jun 23, 2024

Thank you!

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