If we want to map a function that increases every element of a range by 1, we could write
map (\\x -> x + 1) [1..5]
but I guess most peo
You can use the subtract function instead of - if you want to right-section subtraction:
subtract
-
map (subtract 1) [1..5]