-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into day_15
* origin/main: Update dependencies (#41) Remove hspec skip rules from hlint (#39) Add hlint rule (#37) Solve Day 21 (#35) Refactor: Use LANGUAGE TypeApplications (#36) Solve Day 12 (#21) Solve Day 20 (#34) Solve Day 10 (#18) Harvest parseInts util (#33) Solve Day 18 (#31) Solve Day 17 (#30) Create Advent.Parser for shared parsers (#29) Solve Day 16 (#26) Add hspec-discover to PATH (#28)
- Loading branch information
Showing
92 changed files
with
6,972 additions
and
74 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/usr/bin/env bash | ||
PATH_add bin | ||
PATH_add bin/stack | ||
|
||
export SESSION_ID=0000000000 | ||
export GITHUB_USER=manuphatak |
5 changes: 5 additions & 0 deletions
5
.golden/Day18.Solution.parseExpression_example_advanced_0/actual
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,5 @@ | ||
BinaryOp | ||
( Number 1 | ||
, Plus | ||
, Number 2 | ||
) |
5 changes: 5 additions & 0 deletions
5
.golden/Day18.Solution.parseExpression_example_advanced_0/golden
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,5 @@ | ||
BinaryOp | ||
( Number 1 | ||
, Plus | ||
, Number 2 | ||
) |
21 changes: 21 additions & 0 deletions
21
.golden/Day18.Solution.parseExpression_example_advanced_1/actual
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,21 @@ | ||
BinaryOp | ||
( BinaryOp | ||
( BinaryOp | ||
( Number 1 | ||
, Plus | ||
, Number 2 | ||
) | ||
, Times | ||
, BinaryOp | ||
( Number 3 | ||
, Plus | ||
, Number 4 | ||
) | ||
) | ||
, Times | ||
, BinaryOp | ||
( Number 5 | ||
, Plus | ||
, Number 6 | ||
) | ||
) |
21 changes: 21 additions & 0 deletions
21
.golden/Day18.Solution.parseExpression_example_advanced_1/golden
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,21 @@ | ||
BinaryOp | ||
( BinaryOp | ||
( BinaryOp | ||
( Number 1 | ||
, Plus | ||
, Number 2 | ||
) | ||
, Times | ||
, BinaryOp | ||
( Number 3 | ||
, Plus | ||
, Number 4 | ||
) | ||
) | ||
, Times | ||
, BinaryOp | ||
( Number 5 | ||
, Plus | ||
, Number 6 | ||
) | ||
) |
21 changes: 21 additions & 0 deletions
21
.golden/Day18.Solution.parseExpression_example_advanced_2/actual
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,21 @@ | ||
BinaryOp | ||
( BinaryOp | ||
( Number 1 | ||
, Plus | ||
, BinaryOp | ||
( Number 2 | ||
, Times | ||
, Number 3 | ||
) | ||
) | ||
, Plus | ||
, BinaryOp | ||
( Number 4 | ||
, Times | ||
, BinaryOp | ||
( Number 5 | ||
, Plus | ||
, Number 6 | ||
) | ||
) | ||
) |
21 changes: 21 additions & 0 deletions
21
.golden/Day18.Solution.parseExpression_example_advanced_2/golden
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,21 @@ | ||
BinaryOp | ||
( BinaryOp | ||
( Number 1 | ||
, Plus | ||
, BinaryOp | ||
( Number 2 | ||
, Times | ||
, Number 3 | ||
) | ||
) | ||
, Plus | ||
, BinaryOp | ||
( Number 4 | ||
, Times | ||
, BinaryOp | ||
( Number 5 | ||
, Plus | ||
, Number 6 | ||
) | ||
) | ||
) |
13 changes: 13 additions & 0 deletions
13
.golden/Day18.Solution.parseExpression_example_advanced_3/actual
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 @@ | ||
BinaryOp | ||
( Number 2 | ||
, Times | ||
, BinaryOp | ||
( Number 3 | ||
, Plus | ||
, BinaryOp | ||
( Number 4 | ||
, Times | ||
, Number 5 | ||
) | ||
) | ||
) |
13 changes: 13 additions & 0 deletions
13
.golden/Day18.Solution.parseExpression_example_advanced_3/golden
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 @@ | ||
BinaryOp | ||
( Number 2 | ||
, Times | ||
, BinaryOp | ||
( Number 3 | ||
, Plus | ||
, BinaryOp | ||
( Number 4 | ||
, Times | ||
, Number 5 | ||
) | ||
) | ||
) |
25 changes: 25 additions & 0 deletions
25
.golden/Day18.Solution.parseExpression_example_advanced_4/actual
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,25 @@ | ||
BinaryOp | ||
( Number 5 | ||
, Plus | ||
, BinaryOp | ||
( BinaryOp | ||
( BinaryOp | ||
( Number 8 | ||
, Times | ||
, BinaryOp | ||
( BinaryOp | ||
( Number 3 | ||
, Plus | ||
, Number 9 | ||
) | ||
, Plus | ||
, Number 3 | ||
) | ||
) | ||
, Times | ||
, Number 4 | ||
) | ||
, Times | ||
, Number 3 | ||
) | ||
) |
25 changes: 25 additions & 0 deletions
25
.golden/Day18.Solution.parseExpression_example_advanced_4/golden
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,25 @@ | ||
BinaryOp | ||
( Number 5 | ||
, Plus | ||
, BinaryOp | ||
( BinaryOp | ||
( BinaryOp | ||
( Number 8 | ||
, Times | ||
, BinaryOp | ||
( BinaryOp | ||
( Number 3 | ||
, Plus | ||
, Number 9 | ||
) | ||
, Plus | ||
, Number 3 | ||
) | ||
) | ||
, Times | ||
, Number 4 | ||
) | ||
, Times | ||
, Number 3 | ||
) | ||
) |
37 changes: 37 additions & 0 deletions
37
.golden/Day18.Solution.parseExpression_example_advanced_5/actual
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,37 @@ | ||
BinaryOp | ||
( BinaryOp | ||
( Number 5 | ||
, Times | ||
, Number 9 | ||
) | ||
, Times | ||
, BinaryOp | ||
( BinaryOp | ||
( BinaryOp | ||
( Number 7 | ||
, Times | ||
, Number 3 | ||
) | ||
, Times | ||
, BinaryOp | ||
( Number 3 | ||
, Plus | ||
, Number 9 | ||
) | ||
) | ||
, Times | ||
, BinaryOp | ||
( Number 3 | ||
, Plus | ||
, BinaryOp | ||
( BinaryOp | ||
( Number 8 | ||
, Plus | ||
, Number 6 | ||
) | ||
, Times | ||
, Number 4 | ||
) | ||
) | ||
) | ||
) |
37 changes: 37 additions & 0 deletions
37
.golden/Day18.Solution.parseExpression_example_advanced_5/golden
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,37 @@ | ||
BinaryOp | ||
( BinaryOp | ||
( Number 5 | ||
, Times | ||
, Number 9 | ||
) | ||
, Times | ||
, BinaryOp | ||
( BinaryOp | ||
( BinaryOp | ||
( Number 7 | ||
, Times | ||
, Number 3 | ||
) | ||
, Times | ||
, BinaryOp | ||
( Number 3 | ||
, Plus | ||
, Number 9 | ||
) | ||
) | ||
, Times | ||
, BinaryOp | ||
( Number 3 | ||
, Plus | ||
, BinaryOp | ||
( BinaryOp | ||
( Number 8 | ||
, Plus | ||
, Number 6 | ||
) | ||
, Times | ||
, Number 4 | ||
) | ||
) | ||
) | ||
) |
41 changes: 41 additions & 0 deletions
41
.golden/Day18.Solution.parseExpression_example_advanced_6/actual
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,41 @@ | ||
BinaryOp | ||
( BinaryOp | ||
( BinaryOp | ||
( BinaryOp | ||
( BinaryOp | ||
( BinaryOp | ||
( Number 2 | ||
, Plus | ||
, Number 4 | ||
) | ||
, Times | ||
, Number 9 | ||
) | ||
, Times | ||
, BinaryOp | ||
( BinaryOp | ||
( BinaryOp | ||
( Number 6 | ||
, Plus | ||
, Number 9 | ||
) | ||
, Times | ||
, BinaryOp | ||
( Number 8 | ||
, Plus | ||
, Number 6 | ||
) | ||
) | ||
, Plus | ||
, Number 6 | ||
) | ||
) | ||
, Plus | ||
, Number 2 | ||
) | ||
, Plus | ||
, Number 4 | ||
) | ||
, Times | ||
, Number 2 | ||
) |
41 changes: 41 additions & 0 deletions
41
.golden/Day18.Solution.parseExpression_example_advanced_6/golden
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,41 @@ | ||
BinaryOp | ||
( BinaryOp | ||
( BinaryOp | ||
( BinaryOp | ||
( BinaryOp | ||
( BinaryOp | ||
( Number 2 | ||
, Plus | ||
, Number 4 | ||
) | ||
, Times | ||
, Number 9 | ||
) | ||
, Times | ||
, BinaryOp | ||
( BinaryOp | ||
( BinaryOp | ||
( Number 6 | ||
, Plus | ||
, Number 9 | ||
) | ||
, Times | ||
, BinaryOp | ||
( Number 8 | ||
, Plus | ||
, Number 6 | ||
) | ||
) | ||
, Plus | ||
, Number 6 | ||
) | ||
) | ||
, Plus | ||
, Number 2 | ||
) | ||
, Plus | ||
, Number 4 | ||
) | ||
, Times | ||
, Number 2 | ||
) |
5 changes: 5 additions & 0 deletions
5
.golden/Day18.Solution.parseExpression_example_basic_0/actual
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,5 @@ | ||
BinaryOp | ||
( Number 1 | ||
, Plus | ||
, Number 2 | ||
) |
5 changes: 5 additions & 0 deletions
5
.golden/Day18.Solution.parseExpression_example_basic_0/golden
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,5 @@ | ||
BinaryOp | ||
( Number 1 | ||
, Plus | ||
, Number 2 | ||
) |
Oops, something went wrong.