-
Notifications
You must be signed in to change notification settings - Fork 96
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
Haskell prompt at the webpage won't receive all Haskell expressions #162
Comments
The prompt on the website has a real Haskell interpreter that should be able to do more than a preselected set of examples. However, it's mostly for interpreting expressions with limited support for definitions. I'm not 100% sure what those limitations are, but I expect it's similar to or even more restricted than GHCi. Trying out the example the way you did makes sense though. Seems like we could rewrite the example to use |
@TikhonJelvis why don't it understand the usual @alexdesiqueira I'd say if you want a more complete Haskell experience online, you may want to look into https://replit.com/ |
Right, it's not backed by GHCi, it's an interface over tryhaskell.com which I understand to be implemented on top of hint. If you're curious, the source for tryhaskell.com is available online. |
@ulysses4ever I just opened the issue to point a cognitive dissonance I perceived while checking the site 😂 |
@alexdesiqueira I'm sorry if my advice sounded unhelpful or dismissive, I certainly didn't mean it. I hoped it can help you to achieve your goals. If you wanted to only provide some feedback on the website, that's perfectly fine, and I really appreciate your input and totally agree with it. I hope that the Haskell community (including but not limited to the haskell.org board) will figure a better way to showcase the REPL. Even the |
@ulysses4ever oh no, don't worry at all! That wasn't the impression I had. I understood your objective there, and I thank you for your input—I didn't use replit before, and it will be useful for sure 🙂 I just realized due to the conversation that it's not something "easier" to deal with—it can't be helped, at least not easily 😂 |
Hey everyone,
while checking the webpage, I saw the Haskell prompt:
... it said Type Haskell expressions in here. Then I gladly typed the example code on the top of the webpage,
... and I got an error message 🙂
Firstly I thought, did I do something wrong? 🙂
I think this prompt is prepared to receive a small set of operations, for the tutorial, is that right? If that's the case, maybe it could be helpful to write the message Type Haskell expressions in here in a slightly different way. What about Type here Haskell expressions presented on the right., or something like that.
Maybe that's too pedantic, and please feel free to close the issue if you don't think it's relevant, but I think it could help someone else careless enough — like myself 😉 — when they make the same mistake in the future.
Thank you!
The text was updated successfully, but these errors were encountered: