Comments (2)
Hello. Thanks for opening an issue on Exercism. We are currently in a phase of our journey where we have paused community contributions to allow us to take a breather and redesign our community model. You can learn more in this blog post. As such, all issues and PRs in this repository are being automatically closed.
That doesn't mean we're not interested in your ideas, or that if you're stuck on something we don't want to help. The best place to discuss things is with our community on the Exercism Community Forum. You can use this link to copy this into a new topic there.
Note: If this issue has been pre-approved, please link back to this issue on the forum thread and a maintainer or staff member will reopen it.
from haskell.
I must have had a different idea of what constitutes "different diagonals" than the submitter of exercism/problem-specifications#1504. If we look at (2, 2) in relation to the four different values it's being compared against: (0, 4)
, (3, 1)
, (1, 1)
, (5, 5)
, we have: (LT, GT)
, (GT, LT)
, (LT, LT)
, (GT, GT)
. But if it were changed to (1, 7)
vs (0, 6)
, well that's a (LT, LT)
and then we don't have a (GT, GT)
case, and that doesn't make sense to me.
But I see from reading exercism/problem-specifications#1504 this allows a different problem, because the important part isn't really their relative positions; it's about testing two different rising/falling diagonals. However I think if the Haskell track takes this case, we should use (0, 6)
vs (1, 7)
instead of (1, 7)
vs (0, 6)
, so that we still have a (GT, GT)
case.
For those who aren't following along, the mathematics behind it is that one kind of diagonal is expressed as y = x + b
, and the other kind is expressed as y = -x + b
. For each kind of diagonal, we should test a different b
value. This is why we should incorporate the (0, 6)
vs (1, 7)
case instead of staying with the old values.
Honestly though that means that one of the two cases (2, 2), (0, 4)
or (2, 2), (3, 1)
should be changed too, since they are obviously going to be testing the same diagonal as well (since they both contain (2, 2)
. That should also get submitted to problem-specifications.
from haskell.
Related Issues (20)
- Add a disclaimer about version constraints and Stackage
- [Learning Mode] Discussion: How do we best introduce case-expressions? HOT 5
- [Learning Mode] Discussion: building up to Pattern Matching HOT 26
- Which memoization library to use? HOT 3
- [Learning Mode] make learning track visible HOT 1
- Build error (connection failure, `Cabal file info not found...`) HOT 2
- Continuation of development of Learning Mode? HOT 3
- docs: contributing instructions regarding versioning are out of date HOT 2
- Binary Search Tree: add test cases for `bstRight`, `bstLeft` HOT 5
- README: Replace outdated information about hints.md with correct information
- Are hints.md files rendering properly? HOT 1
- Add test to check for eligible boards where queen is on rightmost column in queen attack HOT 3
- Exercise Zipper: instruction is out of date HOT 1
- Building a training set of tags for haskell HOT 21
- exercism cli not installing most recent version of project template HOT 2
- Roman numerals doesn't test for Nothing HOT 1
- Phone Number exercise tests are out of sync with problem-specifications HOT 1
- CI is broken
- Satellite requires unnatural edge case checking HOT 1
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 haskell.