On Mon, 26 Jun 2000, Michael Marte wrote:
> I always thought that the Int argument to showsPrec is the precision.
> So what is it good for? The library report does not explain it.
I sometimes use it to distinguish between the top
and the lower levels of nested data structures, which
allows me to shorten the output, as in:
Tensor [[1,2,3],[4,5,6],[7,8,9]],
rather than
Tensor [Tensor [1,2,3], Tensor [4,5,6], Tensor [7,8,9]].
Jan
- Questions about printing and rounding Float numb... Michael Marte
- Re: Questions about printing and rounding F... Marcin 'Qrczak' Kowalczyk
- Re: Questions about printing and rounding F... Lennart Augustsson
- Re: Questions about printing and rounding F... Michael Marte
- Re: Questions about printing and roundi... Jan Skibinski
- Re: Questions about printing and rounding F... Lennart Augustsson
- Re: Questions about printing and rounding F... Peter Hancock
- Re: Questions about printing and roundi... Lennart Augustsson
- RE: Questions about printing and rounding F... Sigbjorn Finne
