A arbitrary size collection of the same datatype.
[1,2,3,4]
['a','b','c']
Datatype
[Int]: Int list[a]: list of any type (Haskell Polymorphism)
Functions
Underlying Implementation
[1,2,3,4]
-- is actuall syntactic sugar for
1:2:3:4:[]A arbitrary size collection of the same datatype.
[1,2,3,4]
['a','b','c']
[Int] : Int list[a] : list of any type (Haskell Polymorphism)[1,2,3,4]
-- is actuall syntactic sugar for
1:2:3:4:[]