Saved Bookmarks
| 1. |
Mention What Is The Difference Between Haskell (++) And (:)? |
|
Answer» (:) operator: It is known as the “cons” operator and is used to APPEND a head element to a LIST (++) operator: It is a list concatenation operator, and it takes two operands and COMBINE them into a SINGLE list (:) operator: It is known as the “cons” operator and is used to append a head element to a list (++) operator: It is a list concatenation operator, and it takes two operands and combine them into a single list |
|