Increase print depth for lists in SML/NJ

567 views Asked by At

I'm using Emacs to write a simple function in sml of about 4 lines and when I try to call the function/evaluate it in the buffer it returns this with 3 dots at the end

val it = [1,2,2,2,2,2,2,2,2,2,2,2,...] : int list

What's the dots at the end? My code doesn't print any dots. Is this is from Emacs or sml? any hints please.

Also I'm supposed to get a longer list like

[1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2]

is that why the dots there?

1

There are 1 answers

0
sshine On BEST ANSWER

is that why the dots there?

Yes.