Can not evaluate

55 views
Skip to first unread message

Joakim Tengstrand

unread,
Jul 10, 2016, 5:22:23 AM7/10/16
to Light Table Discussion
Hi,

I can evaluate expressions by pressing <cmd>+<enter>, for example:
(+ 1 2)
...will show the result 3.

But when I try to evaluate:
*1
...then nil is shown.

it's the same with these values/expressions:
123
`(do something)

...I need to write:
(eval 123)
(macroexpand-1 `(do something))

Am I doing something wrong?

I'm using Light Table 0.8.1, binary version: 0.34.5

Regards,
Joakim

afro54

unread,
Jul 10, 2016, 4:01:20 PM7/10/16
to Light Table Discussion
I also get nil for *1.  What result were you expecting?

For the others, I get:

(eval 123)
123

(macroexpand-1 `(do something))
(do my-first-pipeline/something)

But I don't know what you hoped would happen.

Kenny Evitt

unread,
Jul 11, 2016, 12:27:23 PM7/11/16
to Light Table Discussion
Hi Joakim,

You're not doing anything wrong. The Clojure plugin just doesn't bother to print the value of simple or primitive expressions.

Here's an existing issue on GitHub for this:

Joakim Tengstrand

unread,
Jul 13, 2016, 2:10:13 AM7/13/16
to Light Table Discussion
Thanks!
Reply all
Reply to author
Forward
0 new messages