Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Stuart A Kurtz
/
advent-of-code-2021
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Pipelines
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
382124ee
authored
Dec 10, 2021
by
Stuart Kurtz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Day 10
parent
9f108b62
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
src/AOC-10a.hs
src/AOC-10b.hs
src/AOC-10a.hs
View file @
382124ee
...
...
@@ -20,4 +20,3 @@ main :: IO ()
main
=
do
input
<-
lines
<$>
readFile
"data/syntax.txt"
print
.
sum
.
map
score
$
input
src/AOC-10b.hs
View file @
382124ee
...
...
@@ -27,4 +27,3 @@ main :: IO ()
main
=
do
input
<-
lines
<$>
readFile
"data/syntax.txt"
putStr
.
show
.
middle
.
sort
.
mapMaybe
score
$
input
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment