Skip to content
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

#idea Implement a small educational console/repl library on top of this. #10

Open
sebinsua opened this issue May 19, 2015 · 3 comments
Open

Comments

@sebinsua
Copy link
Owner

It would be nice if there was an online REPL that would allow a user to type in functional commands, and slowly and visually build a result.

@buzzdecafe
Copy link

is this close to what you have in mind: http://ramdajs.com/repl/
?

@sebinsua
Copy link
Owner Author

That is sort of a cross between a pastebin and a REPL.

I was imagining something closer to the REPL on the Haskell website.

Perhaps what would be nice would be a code editor on the left of the screen, and then on the right side of the screen a colourful visualisation of the execution of that code. A kind of live-coding experience that makes data flows very observable.


Unrelated to this project but I am kind of irritated by JavaScript because it doesn't stop me from sending randomly typed data into a function. I have seen projects like ramda-typescript and am now wondering what is stopping this kind of information from being generated from the docs? I've also seen projects like Flow and I've no idea how well that plays with Ramda. It's a shame that types can't be relied upon more in JavaScript.

@buzzdecafe
Copy link

what would be nice would be a code editor on the left of the screen, and then on the right side of the screen a colourful visualisation of the execution of that code.

Sounds great!

I am kind of irritated by JavaScript because it doesn't stop me from sending randomly typed data into a function.

no kidding. it is a little too accommodating. the question is, what do you do with garbage input? Seems to me you have two choices: enforce typing with arg-checking, or let it fail. I tend to favor the latter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants