projects
/
advent-of-code-16.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Various tidying bits
[advent-of-code-16.git]
/
advent04.hs
diff --git
a/advent04.hs
b/advent04.hs
index fb2839ece8accc5aadc20d24d091f5ce39bb9e18..e48c257ac812e1d1caa0ffd54288a44ce980c8ad 100644
(file)
--- a/
advent04.hs
+++ b/
advent04.hs
@@
-1,3
+1,5
@@
+module Main(main) where
+
import Data.List (last, intersperse, sortBy, intercalate, isInfixOf)
import Data.List.Split (splitOn)
import Data.Char (isLetter, ord, chr)