Skip to content

add a console clear function #11

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

Closed
lorezzed opened this issue Feb 12, 2017 · 3 comments
Closed

add a console clear function #11

lorezzed opened this issue Feb 12, 2017 · 3 comments

Comments

@lorezzed
Copy link

In the Getting Started[0] guide is a solution to a Project Euler question. I continued working through questions using the Try Purescript REPL[1] and noticed I couldn't clear out my console easily. It would be nice to go console.clear() at the top of my solutions :)

Clear is missing in
https://pursuit.purescript.org/packages/purescript-console/2.0.0/docs/Control.Monad.Eff.Console

As described here
https://developer.mozilla.org/en-US/docs/Web/API/Console/clear

[0] http://www.purescript.org/learn/getting-started/
[1] http://try.purescript.org

@paf31
Copy link
Contributor

paf31 commented Feb 12, 2017

👍 Seems like a good idea.

matthewleon added a commit to matthewleon/purescript-console that referenced this issue Mar 16, 2017
matthewleon added a commit to matthewleon/purescript-console that referenced this issue Mar 16, 2017
@matthewleon
Copy link

PR here: #13

@matthewleon
Copy link

Okay, this is now available here: https://pursuit.purescript.org/packages/purescript-console-browser-specific/0.0.1

@garyb garyb closed this as completed Nov 11, 2018
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

4 participants