-
Notifications
You must be signed in to change notification settings - Fork 31
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
env -S is platform-specific #25
Comments
I modified |
Perhaps lines without expressions (like comment or import) should not contribute to the 10 lines limit? That way, the games have room to declare the cabal/stack script preamble, and no longer need a separate Import file. Otherwise, I think we should allow |
For this round they do contribute, because it makes for a more realistic comparison with other languages (such as BASIC) and because the other entrants have worked to this constraint. But.. we have already allowed dropping the shebang line as long as decent runnability is still maintained, eg by providing a reliable build command in the comments, and a couple of entries have relied on this. This is partly why the I guess accepting special invocations to work around a missing shebang line, or a shebang line with arguments, are equivalent, and the status quo. On the other hand it seems to mean that everybody working hard to fit the constraint, need not have bothered, and henceforth there's no point in putting any shebang line. This is slightly against the goal of challenging ourselves to produce self-contained haskell games comparable to classic BASIC games. |
Forgive my ignorance, but would there be anything wrong with using |
|
In my case, I used
So as you can see, I'm not really saving a line because I use up a second line for the Anyway I've found out that on LTS 20.10, it seems |
Conclusion: |
Clearly a fate worse than death! |
Well, now I used it myself in pong2, to save a line yet still be self-runnable for most people. |
On three entries (crappy-flappy, fifteen, pong) I just responded
And in README I just added
I imagine this will be bitter news for some. But achieving programs that "just work" is a core principle and very much part of the challenge, and env -S seems incompatible with this, alas.
What are your thoughts, do you see other options ?
The text was updated successfully, but these errors were encountered: