-
Notifications
You must be signed in to change notification settings - Fork 14
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
alternative syntax #12
Comments
I would vote for 馃帀 if we decide on going with an alternative solution. I still think that using one character can be confusing and can be mistaken for part of the code, where |
btw. haskell doctest also uses |
Why the hell are you trying to invent new syntax when elm-repl has already established one?
I vote for non of the above but for the elm-repl one! Or there is another option. Make elm-repl use the new docs syntax you choose instead of its current one! |
@AnthonyJacob good idea to consider the elm repl syntax as well, although the tone of your suggestion can be improved. I'd also vote for the elm repl syntax. |
I included repl-style in the poll.
|
I am sorry for that tone, I was going trough some packages-extra made by haskellers and it wasn't pleasant experience :)
I hope that in the near feature this won't be the case. ( shift+enter is much more convenient )
Once there will be good IDE support for documentation, you also won't need it. It might feel exactly like the repl actually.
All the other things you pointed out can be solved by one bold line in documentation. On the other hand, if the change would get propagated into repl, I would go with the first one. |
This tone is not okay. This is an open source project that we have spent time on. We've also asked for people's feedback in multiple places on the syntax.
The reason why the prompt does not matter is because 1) Haskell's doctests do not prefix things with
If you are having a bad day, talk it out with someone else - don't take it out on people who are giving up their free time to work on projects.
Wishful thinking. Maybe if we planned this whole library around Elm having reflection then we wouldn't even need to generate elm-tests! Except that's not how things are right now, and to plan on some non-existent tooling changes at some point in the future is not a good way to get things done. |
So it is easier to write generator instead of making a pull request that would bring reflection into elm? |
Adding reflection is a huge design decision, it's not as simple as just adding a pr. So yes. |
Is / Was there some discussion on this topic (reflection) ? I wanted to make elm-repl better at exploration of the language / libraries / documentation etc. which would very likely require some amount of reflection ( even if only repl would have permission to use it ). |
closed in favour of #22 |
from discussion in #10
The current implementation is the same as python's doctest.
vote 馃憤
vote 馃槃
vote 馃帀
vote 鉂わ笍
vote : 馃槙 (sorry for the emoji, there aren't many options)
The text was updated successfully, but these errors were encountered: