removed debug code
This commit is contained in:
parent
87f0c0d9d1
commit
6b14d29c79
2
Day2.hs
2
Day2.hs
|
@ -9,7 +9,7 @@ import Data.Text (splitOn, Text, unpack, pack)
|
|||
data Submarine = Submarine {
|
||||
horizontal :: Int
|
||||
, depth :: Int
|
||||
} deriving Show
|
||||
}
|
||||
|
||||
type Movement = (String, Int)
|
||||
|
||||
|
|
|
@ -5,14 +5,12 @@ module Day2_1 where
|
|||
import System.IO (openFile, IOMode (ReadMode), hClose, hGetContents)
|
||||
import Data.Text (splitOn, Text, unpack, pack)
|
||||
import Data.List (mapAccumL)
|
||||
import Prelude hiding ((++))
|
||||
|
||||
|
||||
data Submarine = Submarine {
|
||||
horizontal :: Int
|
||||
, depth :: Int
|
||||
, aim :: Int
|
||||
} deriving Show
|
||||
}
|
||||
|
||||
type Movement = (String, Int)
|
||||
|
||||
|
|
Loading…
Reference in New Issue