small modifications

This commit is contained in:
KoenDR06 2025-12-04 14:29:10 +01:00
parent 1e816929b0
commit e9187a27db
2 changed files with 0 additions and 4 deletions

View file

@ -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

View file

@ -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 -----
----------------- -----------------