-
-
Notifications
You must be signed in to change notification settings - Fork 531
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
Added Game of Life in Haskell #836
Conversation
No sweat with libraries! I'm actually all for it if it simplifies the implementation. I'm more so worried about external dependencies as it makes life much more difficult when testing. |
Sorry. I should have been more clear. That's what I meant by libraries. ArgParser is an external dependency that's used to parse the CLI input and provide help text and error handling. All the other libraries ship with ghc (the haskell compiler). |
Ahh! Makes sense. Well, to be fair, Game of Life is a bit of an undertaking in any language. It's a bit different than a lot of our current projects. |
Doing some pull request decluttering. Going to pull this in, and we can make an issue for working on it in the future. |
Congrats on taking the first step to contributing to the Sample Programs in Every Language repository!
For simplicity, please make sure that your pull request includes one and only one sample program and language.
Please Complete the Following
<Sample Program> in <Language>
formatNotes
This is not yet ready, but since it is long I thought it would be good to start a review of it.
Currently it only uses the CLI for the UI (which is hard enough in haskell by itself).
I also plan to change the way it determines initial spawn locations.
This does require one library to run: argparser. I noted that at the top of the file. If necessary, I can remove that, but it won't be nearly as pretty. I know we try to avoid this elsewhere, but I noticed some other game of life implementations, such as python, use libraries in order to do the GUI.