Closed Sintrastes closed 1 year ago
Currently, we have:
> [1,2,3,4.2] [<<Int>>,<<Int>>,<<Int>>,<<Double>>]
whereas it would be nice if we had:
> [1, 2, 3, 4.2] [1, 2, 3, 4.2]
Maybe the best approach for this would be to have the interpreter see if there is a show instance for each element of the list, and try to display it that way -- otherwise, falling-back to just displaying the type?
show
Currently, we have:
whereas it would be nice if we had:
Maybe the best approach for this would be to have the interpreter see if there is a
show
instance for each element of the list, and try to display it that way -- otherwise, falling-back to just displaying the type?