FP foundations & Scheme Flashcards
examples of imperative langurs
C, C++, Java and pascal
Von Neumann
What is functional programming based on
Mathematical functions
LISP ML Haskell
How is the evaluation order of mapping expressions controlled within mathematical foundations
Recursion and conditional expressions
What is the apply-to-all denoted by
Alpha
Lambda express is
A function specifies the params of a mapping expression
A term with no free variables is said to be
Closed
Also know. As combinators
Lambda calc does not provide built in support for what type of functions?
Multi-argument
What is the transformation for multi-arguments functions into higher order functions called?
Currying
Lists in LISP are stored a what type of data structure?
Linked list
Scheme is a dialect of…
LISP
What are four characteristics of scheme?
(1) simple syntax
(2) small size
(3) exclusive use of static scoping
(4) treating functions as first class entities
What does most scheme implementations employ?
An interpreter that runs a “Read Evan print” loop
How many parameters can the primitive functions of * and + have?
Zero or more
If * is given no param what does it return?
1
If + is given no param what does it return
0