Haskell Flashcards
1
Q
function
A
mapping that takes one or more arguments and produces a single result
2
Q
features of haskell
A
concise programs powerful type system list comprehesions recursive functions higher order functions effectful functions generic functions lazy evaluation equational reasoning
3
Q
layout
A
everything should be in same column
4
Q
curried functions
A
functions with multiple arguments that take the argument one at a time
5
Q
difference between a tuple and list
A
list is mutable and tuple is immutable - the length of a list is arbitrary but defined for tuple
6
Q
list comprehension generator
A
x
7
Q
higher order function
A
function that takes in another function as part of its argument or returns a function as a result