Comments (4)
How are you gentlemen !!
I set up you the PR.
from fsharp.
Good point. What do you propose to be the correct handling of zeroes and such?
from fsharp.
Couldn't resist. :-) But seriously, what I did in the PR is what I'd suggest: empty lists are considered errors (I changed my mind a bit after thinking about it, and decided that it should be like parsing a string. No digits in the string? Then you don't get a number at all. No digits in the list? Likewise, no number.) For any other leading zeroes, though, it should parse just like a string should: leading zeroes are ignored. (And leading zeroes should certainly NOT mean "parse this as octal"; that is C's second-biggest blunder. The biggest, of course, is getting involved in a land war in... no, wait, I mean null
s.)
from fsharp.
Seems like very sensible fixes. I've commented on your PR.
from fsharp.
Related Issues (20)
- Test runner times out in `perfect-numbers` exercise HOT 3
- Many solutions for SgfParsing use FParsec but cannot pass TestRunner HOT 3
- I submitted a soltuion to mark as complete but it does not show in community solutions
- Make Diamond exercise compile instead of // TODO HOT 2
- Tests seem to fail in Exercism whilst passing locally HOT 3
- Show test summary in CI HOT 2
- Exercise: Binary Search HOT 3
- Too much test data generated for a successful test run HOT 2
- 🤖 Sync error for commit 2aadb3
- My test HOT 1
- This should stay open!
- This should close HOT 1
- Errors when running dotnet run and dotnet test HOT 1
- Why the parentheses in function calls? HOT 1
- Add introduction.tpl files for concept exercise where warranted. HOT 2
- LinkedList addToEmpty function not referenced in tests HOT 7
- Perfect Numbers tests does not finish HOT 2
- LogLines expects methods to be called but no-where in the introductions do we explain how to call methods HOT 1
- Building a training set of tags for fsharp HOT 16
- Booking up for beauty example solution invalid HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fsharp.