You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.
When writing clojure and trying to evaluate an expression like @foo at the highest level, nothing (visible) happens. To clarify, here is a screenshot:
Each line has been evaluated in order using cmd-enter. I would have expected @foo to have the same effect as (deref foo), am I missing something? I'm using LightTable 0.8 on Mac OSX 10.10.5.
and:
I have just noticed that the same goes for evaluating a string, a long, a boolean or a keyword, which suggests to me that this is intended behavior. May I ask why? This comes to me as a surprise as this is quite different from how a classic repl would behave.
and my reply:
@heyarne As-of now, there's no 'reason' why the InstaREPL (or the regular inline eval) fails to print primitive values – it just doesn't. I agree that, being surprising, it should probably be changed to match the unsurprising and standard behavior of other REPLs.
However, none of the core team use the InstaREPL and this isn't particularly useful for inline eval either (as you already know what the value of the expression is). We're also planning on dropping support for the InstaREPL eventually – unless someone steps up to maintain it themselves. If you're willing to work on making the changes tho, one of the three of us on the core team will review a PR with your changes and if they look good we'll gladly merge it.
The text was updated successfully, but these errors were encountered:
From LightTable/LightTable#2092, the first two comments by the person that originally opened the issue:
and:
and my reply:
The text was updated successfully, but these errors were encountered: