aboutsummaryrefslogtreecommitdiff
path: root/2022/day-02
diff options
context:
space:
mode:
authorHunky Jimpjorps <thechairman@thechairman.info>2022-12-02 11:50:09 -0500
committerHunky Jimpjorps <thechairman@thechairman.info>2022-12-02 11:50:09 -0500
commit9ab985aca36a98b446bf6fed1d26764b0d327c70 (patch)
tree7112fdf3dde712986138c2d9c4697c85ece277ed /2022/day-02
parent36e7a9cc09221990f8ee69d0ad0885ff07ebaeef (diff)
downloadgleam_aoc-9ab985aca36a98b446bf6fed1d26764b0d327c70.tar.gz
gleam_aoc-9ab985aca36a98b446bf6fed1d26764b0d327c70.zip
day 2 markdown fixes
Diffstat (limited to '2022/day-02')
-rw-r--r--2022/day-02/day-02.ipynb16
1 files changed, 8 insertions, 8 deletions
diff --git a/2022/day-02/day-02.ipynb b/2022/day-02/day-02.ipynb
index d9dcd72..13b9986 100644
--- a/2022/day-02/day-02.ipynb
+++ b/2022/day-02/day-02.ipynb
@@ -18,7 +18,7 @@
},
{
"cell_type": "code",
- "execution_count": 7,
+ "execution_count": 1,
"metadata": {
"vscode": {
"languageId": "racket"
@@ -39,7 +39,7 @@
},
{
"cell_type": "code",
- "execution_count": 8,
+ "execution_count": 2,
"metadata": {
"vscode": {
"languageId": "racket"
@@ -60,7 +60,7 @@
},
{
"cell_type": "code",
- "execution_count": 9,
+ "execution_count": 3,
"metadata": {
"vscode": {
"languageId": "racket"
@@ -77,7 +77,7 @@
" (match* (them me)\n",
" [(x x) 'draw]\n",
" [(x y) #:when (eq? y (winning-rounds x)) 'win]\n",
- " [_ 'lose]))"
+ " [(_ _) 'lose]))"
]
},
{
@@ -91,7 +91,7 @@
},
{
"cell_type": "code",
- "execution_count": 10,
+ "execution_count": 4,
"metadata": {
"vscode": {
"languageId": "racket"
@@ -107,7 +107,7 @@
"13809"
]
},
- "execution_count": 10,
+ "execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
@@ -131,7 +131,7 @@
},
{
"cell_type": "code",
- "execution_count": 11,
+ "execution_count": 5,
"metadata": {
"vscode": {
"languageId": "racket"
@@ -147,7 +147,7 @@
"12316"
]
},
- "execution_count": 11,
+ "execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}