Haskell Flashcards

1
Q

function

A

mapping that takes one or more arguments and produces a single result

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

layout

A

everything should be in same column

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

curried functions

A

functions with multiple arguments that take the argument one at a time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

list comprehension generator

A

x

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

higher order function

A

function that takes in another function as part of its argument or returns a function as a result

How well did you know this?
1
Not at all
2
3
4
5
Perfectly