Skip to content

Documentation and fix parsing Double #17

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

Merged
merged 4 commits into from
Apr 23, 2020
Merged

Documentation and fix parsing Double #17

merged 4 commits into from
Apr 23, 2020

Conversation

dan323
Copy link
Contributor

@dan323 dan323 commented Apr 22, 2020

When I tested it in my computer, it ended in error because of rounding mistakes building 4e-6. In this PR I try to minimize those.

Since I am new to Haskell, I needed to document the file to be more aware of what the different functions do; so I decided to push that documentation too.

Copy link
Member

@rexim rexim left a comment

Choose a reason for hiding this comment

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

What is exactly the problem this PR fixes? Could you please add a test case that demonstrates the problem?

@dan323
Copy link
Contributor Author

dan323 commented Apr 23, 2020

The current test in my local does not parse 4e-6 correctly. I do get an ERROR executing main. Does it work for you @rexim ?

@rexim
Copy link
Member

rexim commented Apr 23, 2020

@dan323 ah, I see what you mean! Sorry, didn't read your description careful enough. :D Looks good to me! Thanks for fixing this!

@rexim rexim merged commit 8c5d63e into tsoding:master Apr 23, 2020
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