-
-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Complete first pass at material on indexed codata
Could use some more exercises
- Loading branch information
Showing
8 changed files
with
149 additions
and
24 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
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
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,34 @@ | ||
// Diagram for html FSM | ||
// | ||
// run with | ||
// dot html.gv -Tpdf -o html.pdf | ||
|
||
digraph html_fsm { | ||
rankdir="LR"; | ||
ratio=0.25; | ||
|
||
node [shape = circle]; | ||
|
||
Head[label="Head"]; | ||
Link1[label="Link"]; | ||
Title[label="Title"]; | ||
Link2[label="Link"]; | ||
Body[label="Body"]; | ||
H1[label="H1"]; | ||
P[label="P"]; | ||
|
||
Head->Link1 | ||
Head->Title | ||
Link1->Link1 | ||
Link1->Title | ||
Title->Link2 | ||
Title->Body | ||
Link2->Link2 | ||
Link2->Body | ||
Body->H1 | ||
Body->P | ||
H1->P | ||
H1->H1 | ||
P->H1 | ||
P->P | ||
} |
Binary file not shown.
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Disable for switch FSM | ||
// Diagram for switch FSM | ||
// | ||
// run with | ||
// dot switch.gv -Tpdf -o switch.pdf | ||
|
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,6 @@ | ||
# Creating Usable Code {#sec:usability} | ||
|
||
APIs are interfaces and should be designed as such. | ||
|
||
|
||
` scala.annotation.implicitNotFound` and `scala.annotation.implicitAmbiguous` |