-
Notifications
You must be signed in to change notification settings - Fork 98
Haskell [Final Steps] #197
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
base: master
Are you sure you want to change the base?
Conversation
runGame.bat is rather simplified compared to runGame.sh, mostly as I have no real knowledge of batch scripting, and no Windows machine on which to test. I don't think it should be too complicated to port for someone more knowledgeable though.
Haskell starter package
|
Could you take a look at |
…nvenient for the user.
|
Sure, @Josef-Vonasek. I'll close this for now. |
|
Nevermind, I see that you are sending a PR for this branch. |
[Haskell] New interface for Starter Package
Also renamed variables in parseMapContents to aid readability
A list comprehension generates almost the right list, but in the wrong order. The way the list was used, the order must correspond to the order of Bools in the second list, or else you end up with nonsense moves, sending requests for unowned sites to move. I changed it to use the more precise method used in the library function, but probably a neater way to do things would be to simply filter the list of sites based on owner, then map `siteLocation` over the resulting list.
|
Can we include #223? |
|
It's a bit off topic, but wasn't the infamous record problem solved in GHC 8.0 ? E.G. Do we need different names for location getters (currently |
|
Yeah, with the I think the extension would work in the code. It would be only a few lines changed to implement, if we want to. |
|
Also, other starter packages provide some helper functions like |
|
From what I can tell, The helper functions seem like nice additions. Perhaps we could name them as such: If a user wants monadic composition for |
[Haskell] Clean up and bugfix of Haskell starter package
|
I have sent a PR #233. After that I think we are ready to go, unless there is some bug I didn't see. |
Haskell starter package.
|
@jparoz Does this look good to you as well? |
|
Great work from @Josef-Vonasek! Looks good to ship. Just curious, why the change to |
|
Thanks. Because our |
|
That makes sense. 👍 |
Conflicts: website/advanced_game_server.php website/archiveStarterPackages.sh website/downloads.php worker/Dockerfile
|
What do you need cabal for? |
|
@AnthonyJacob Having a bit of trouble installing stack in a docker container. |
|
@truell20 I have no problem installing stack to docker image, please see #282 Below is building log |
No description provided.