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

Add practice exercise spiral-matrix #696

Merged
merged 1 commit into from
May 31, 2024
Merged

Add practice exercise spiral-matrix #696

merged 1 commit into from
May 31, 2024

Conversation

jiegillet
Copy link
Contributor

Week 26 of 48in24

Not the most interesting :)

"slug": "spiral-matrix",
"name": "Spiral Matrix",
"uuid": "e44952ec-185a-4c8e-9404-fb7b365e3961",
"practices": [],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note for later: could be a good candidate for #692

@@ -0,0 +1,6 @@
module SpiralMatrix exposing (spiralMatrix)

Copy link
Contributor

Choose a reason for hiding this comment

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

Should we provide the 'Direction' type here?

It's just a thought ...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, I don't think so, that was just my own way of solving it, there are infinitely many other ways to do it.
Also, it's not in the instructions so it would be confusing.

@jiegillet jiegillet merged commit 39842c7 into main May 31, 2024
7 checks passed
@jiegillet jiegillet deleted the jie-spiral-matrix branch May 31, 2024 12:11
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