Home
Search For Notes
All Search Criteria Are Optional
After:Before:
In Course:
Contains String:
0 1 2 3 4 5 6 7 8
Date tag: January 19 2010 5:9:10
Click here to add notes.
Date tag: January 14 2010 6:19:24
Click here to add notes.
Date tag: January 14 2010 6:17:16
Click here to add notes.
Date tag: January 14 2010 6:12:30
Typical scenarios in scheme.
Date tag: January 14 2010 6:7:35
Recursion is a general technique for solving large problems, typically by breaking down the input until its small enough to solve directly, then combining the smaller results back together.
Date tag: January 14 2010 6:1:32
Click here to add notes.
Date tag: January 14 2010 5:59:6
Click here to add notes.
Date tag: January 14 2010 5:58:57
We will assume that these are errors: Calling first or rest with an atom including the empty list. Calling cons where the second argument is a non list, an empty list is okay.
Date tag: January 14 2010 5:50:13
Basic list operators in scheme.
Date tag: January 14 2010 5:49:58
Click here to add notes.
Date tag: January 14 2010 5:45:50
Lists and scheme: Lists are the fundamental data structs in lisp or scheme. All of their detailed management is done for you by the run time system. Lists are ordered and can contain multiple copies of the same element. Lists can contain lists as elements and can nest as much as you like.
Date tag: January 14 2010 5:45:35
Click here to add notes.
Date tag: January 14 2010 5:41:2
Click here to add notes.
Date tag: January 14 2010 5:33:50
define atom question mark
Date tag: January 14 2010 5:33:42
More predicates: A predicate is a function that evaluates to true or false. By convention scheme predicate names end with a question mark.
Date tag: January 14 2010 5:26:14
Click here to add notes.
Date tag: January 14 2010 5:26:3
Click here to add notes.
Date tag: January 14 2010 5:16:8
Click here to add notes.
Date tag: January 14 2010 5:15:53
Click here to add notes.
Date tag: January 14 2010 5:8:20
Meaning of atoms: Numeric or string constants evaluate to themselves. Some symbols are scheme keywords and other may be given values. Meaning of sexprs or non atoms: They can be function applications or special forms. Note: This is a simplified world view.
Date tag: January 14 2010 5:8:7
Scheme syntax: A sexpr is an tom or list of sexprs. An atom is a numeric or string constant or a symbol
Date tag: January 12 2010 6:18:48
Click here to add notes.
Date tag: January 12 2010 6:18:42
Click here to add notes.
Date tag: January 12 2010 6:13:47
Click here to add notes.
Date tag: January 12 2010 6:13:39
Click here to add notes.
Date tag: January 12 2010 6:4:4
ScheShit tons of brackets.
Date tag: January 12 2010 6:3:48
Click here to add notes.
Date tag: January 12 2010 5:59:39
Click here to add notes.
Date tag: January 12 2010 5:52:17
Click here to add notes.
Date tag: January 12 2010 5:49:5
or quote, when evaluated, returns the s expr that was quoted without evaluating the s expr
Date tag: January 12 2010 5:44:50
Click here to add notes.
Date tag: January 12 2010 5:36:39
Click here to add notes.
Date tag: January 12 2010 5:31:15
evaluating a define special form does not return a value but does have a side effect on the global state of associating the constant or function symbol with the predefined function.
Date tag: January 12 2010 5:29:27
Click here to add notes.
Date tag: January 12 2010 5:23:25
Click here to add notes.
Date tag: January 12 2010 5:18:18
Click here to add notes.
Date tag: January 12 2010 5:18:5
A list has meaning if it is a function application or a special form which looks like a function application usually but is evaluated differently.
Date tag: January 12 2010 5:9:50
Semantics of a language gives meaning to a subset of legal syntatic entities. Meaning of sexprs: Atoms are numeric strings or values. Some symbols are predefined keywords of Scheme. Other symbols may or may not have depending on the particular program.
Date tag: January 12 2010 5:5:34
Syntax defines the set of legal combinations of symbols from a programming language. In scheme, a legal syntactic entity is defined to be a sexpr. A sexpr is either an atom or a list. An atom is either a numeric constant or value, a string, or a symbol. A list is a sequence of whitespace delimited sexpr surrounded by parentheses.
Date tag: January 7 2010 6:18:37
Numbers and booleans in Scheme.
Date tag: January 7 2010 6:15:39
If a sexpr is an atom then its value can be the atoms value. A sexpr can also be a function application or a list that is a special form which looks a bit like a function application but is evaluated differently.
Date tag: January 7 2010 6:15:27
Some symbols are special keywords in scheme and have predefined values eg. empty, define, first.
Date tag: January 7 2010 6:12:2
An atom can, but need not, have a value.
Date tag: January 7 2010 6:5:22
Kids make nutritious snacks.
Date tag: January 7 2010 6:5:4
Brocolli is often blind. Green ideas sleep furiously.
Date tag: January 7 2010 6:2:0
The syntax of a language defines the set of legal structures. The semantics of a language gives meaning to the same syntactially valid constructs.
Date tag: January 7 2010 5:57:22
Date tag: January 7 2010 5:50:55
A symbol is just about any set of consecutive chars that are not string or numerical constants and are made up of these characters...
Date tag: January 7 2010 5:50:49
An atom is one of, an explicit numeric constant value, an explicit constant string value, or a symbol.
Date tag: January 7 2010 5:48:56
The fundamental construct in Scheme is the symbolic expression or sexpr. Syntactically a sexpr is an atom, a list, or other stuff such as a struct.
0 1 2 3 4 5 6 7 8