1

Following image shows that LFE truncates displayed results. Compared to SBCL REPL I can see less than half of result data.

enter image description here

How do I show all results in LFE?

ruby_object
  • 1,229
  • 1
  • 12
  • 30

2 Answers2

4

To see it printed in LFE format you can use

(lfe_io:format "~p\n" (list (lists:seq 1 50)))

or, much easier, in the LFE repl:

(pp (lists:seq 1 50))

There is also a (p ...) call which writes it out without prettyprinting.

rvirding
  • 20,848
  • 2
  • 37
  • 56
1

Something I do in this case is often to use io:format:

io:format("~p~n", [X]).

I guess it's the same with LFE, but with slightly different syntax.

dvaergiller
  • 795
  • 3
  • 11