Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Weird, must be a regression. Read some other comments here yesterday about the clojure repls working well. Looking into it now. For feature requests here https://repl.it/feedback


So because of all the traffic we're getting (on here, Product Hunt, and Tech Crunch) there is a lot of container pool misses and because of the JVM Clojure takes a while to load. We just upped the Clojure pool so it should work now.

To address your points but please feel free to add this to our feedback board too.

>0. No docs. There's plenty of odd and unexplained behavior that needs documenting - at least until stuff is less broken.

This is definitely an area we need to fix but to your other comment there shouldn't be any unexplained behavior. If there is it's a bug. Please report it here: https://repl.it/bugs

>1. Can't eval single forms from editor. Whole files only.

Meaning you want to highlight code and eval it? That's something we've seen requested before and would love to implement.

> 2. Can't eval anything from files other than main.

Yes so if you start adding files we switch to executing code via `lein exec main.clj`. We should probably drop the REPL in the same namespace as well. Do you know if there is an easy way to connect the REPL to a running program?

> 3. Lots of delays and hangs. Very slow. Every eval takes multiple seconds. Some repl starts take 30 seconds.

should be fixed now.

>4. Weird inconsistent behavior. Sometimes it will render function return values from editor eval to the repl, sometimes not.

This should be consistent. It's the first time we hear about this, can you please report it with some repro steps?

> 5. Once you drop a new file, stuff breaks in strange ways. E.g. main.clj no longer seems connected to the user namespace.

Related to point #2

> 6. Can't load other files, (load "other.clj") doesn't find it.

It works, you shouldn't add the extension in `load`. See working example: https://repl.it/@amasad/Load-example


Thanks, really helpful! I have submitted a bug report.


I hope at least for now the speed/delay issues are fixed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: