Modifying elements of Haskell 2D array
seems to work fine No, the ++ operator does not do that. It simply
concatenates two lists together. With [[1]] ++ [[2]], you could say x = [1]
and y = [2], then you have [x] ++ [y], which is clearly [x, y], or [[1],
[2]] through direct substitution.A
Date : November 22 2020, 10:48 AM , By : artifex