small modifications
This commit is contained in:
parent
1e816929b0
commit
e9187a27db
2 changed files with 0 additions and 4 deletions
|
|
@ -1,7 +1,5 @@
|
||||||
module Main where
|
module Main where
|
||||||
|
|
||||||
import Debug.Trace (trace)
|
|
||||||
|
|
||||||
convertToInts = map (\it -> (if head it == 'L' then -1 else 1) * read (drop 1 it))
|
convertToInts = map (\it -> (if head it == 'L' then -1 else 1) * read (drop 1 it))
|
||||||
|
|
||||||
part1 :: String -> Int
|
part1 :: String -> Int
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@ module Main where
|
||||||
import Data.List (find, nub)
|
import Data.List (find, nub)
|
||||||
import Data.Maybe (isNothing)
|
import Data.Maybe (isNothing)
|
||||||
|
|
||||||
import Debug.Trace (trace)
|
|
||||||
|
|
||||||
-----------------
|
-----------------
|
||||||
----- Utils -----
|
----- Utils -----
|
||||||
-----------------
|
-----------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue