-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stub out the rest of the gentle introduction
- Loading branch information
Showing
8 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Algebraic data types | ||
==================== | ||
|
||
.. admonition:: To be written | ||
|
||
- Sum types | ||
- Type definitions | ||
- Recursive types (lists, trees) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
Booleans and Logic | ||
================== | ||
|
||
.. admonition:: To be written | ||
|
||
- Introduce type `Bool`, values `T` and `F` | ||
- Introduce logic operators (and, or, not, implies, iff) | ||
- Mention `:table` command | ||
- Introduce basic comparison operators | ||
- Introduce basic tests | ||
- Exercises: | ||
- xor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Lists | ||
===== | ||
|
||
.. admonition:: To be written | ||
|
||
- Literal lists, ellipsis notation | ||
- List comprehensions | ||
- Basic recursion patterns (motivate polymorphism) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Number Theory | ||
============= | ||
|
||
.. admonition:: To be written | ||
|
||
- Integer division | ||
- Mod | ||
- Divisibility | ||
- Quantified tests | ||
- Tests can start with `forall` or `exists` | ||
- Explain syntax. | ||
- `Prop` vs `Bool`. | ||
- `holds` | ||
- Exercises |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Pairs and pattern matching | ||
========================== | ||
|
||
.. admonition:: To be written | ||
|
||
- Pairs, product type | ||
- Basic pattern matching |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Polymorphism | ||
============ | ||
|
||
.. admonition:: To be written | ||
|
||
Polymorphic list functions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Sets | ||
==== | ||
|
||
.. admonition:: To be written | ||
|
||
- Basic literal sets | ||
- Ellipsis notation | ||
- Set operations (union, intersection, difference, size, cartesian product, power set) | ||
- Set comprehensions |