ADD show
This commit is contained in:
parent
0b528a6814
commit
836ed18943
|
@ -35,7 +35,7 @@ main :: IO ()
|
||||||
main = getMonitorName >>= maybe exitFailure (\n -> putStrLn n >> exitSuccess)
|
main = getMonitorName >>= maybe exitFailure (\n -> putStrLn n >> exitSuccess)
|
||||||
|
|
||||||
data Coord = Coord Int Int
|
data Coord = Coord Int Int
|
||||||
deriving Eq
|
deriving (Eq, Show)
|
||||||
|
|
||||||
getMonitorName :: IO (Maybe String)
|
getMonitorName :: IO (Maybe String)
|
||||||
getMonitorName = do
|
getMonitorName = do
|
||||||
|
|
Loading…
Reference in New Issue