data RGB = MkRGB { rgbRed :: Int , rgbGreen :: Int , rgbBlue :: Int }
data RGB = MkRGB { rgbRed :: Int, rgbGreen :: Int, rgbBlue :: Int, }
Prelude System.IO> [1, 2] [1,2] Prelude System.IO> [1, 2,] <interactive>:8:7: parse error on input ‘]’ Prelude System.IO>
>>> [1,2,] [1, 2] >>>