How do i check if an object in Haskell is not a list? for instance i want to know if let a = 55, a is a list or just a number?
let a = 55
a
Haskell is a statically typed, i.e. you know at compile time whether an identifier denotes something of type [Int] or of Int.
identifier
[Int]
Int