Haskell and functions

The following is a pair of commands in Haskell that creates a list of numbers and performs a calculation on that list to generate a new list. This is called a list-comprehension. The first statement can be read as Define list_1to100 as a list from 1 to 100, but don’t actually generate a list from […]

Haskell and functions Read More ยป