Remove commented-out code
This commit is contained in:
parent
abe5a5dc85
commit
7f244f83a4
2 changed files with 0 additions and 8 deletions
|
@ -1,5 +1,4 @@
|
||||||
{-# LANGUAGE FlexibleContexts #-}
|
{-# LANGUAGE FlexibleContexts #-}
|
||||||
{- LANGUAGE MultiParamTypeClasses #-}
|
|
||||||
module Message (
|
module Message (
|
||||||
Connected
|
Connected
|
||||||
, receive
|
, receive
|
||||||
|
@ -17,12 +16,6 @@ import qualified Message.Server as Server (Message(..))
|
||||||
|
|
||||||
type Connected a = ReaderT Connection (StateT Game IO) a
|
type Connected a = ReaderT Connection (StateT Game IO) a
|
||||||
|
|
||||||
{-
|
|
||||||
class ReaderIO t c where
|
|
||||||
f :: t a -> t c
|
|
||||||
liftIO :: (a -> IO b) -> a -> t b
|
|
||||||
-}
|
|
||||||
|
|
||||||
send :: (MonadReader Connection t, MonadIO t) => Server.Message -> t ()
|
send :: (MonadReader Connection t, MonadIO t) => Server.Message -> t ()
|
||||||
send message = do
|
send message = do
|
||||||
connection <- ask
|
connection <- ask
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{-# LANGUAGE DeriveGeneric #-}
|
{-# LANGUAGE DeriveGeneric #-}
|
||||||
{- LANGUAGE FlexibleInstances #-}
|
|
||||||
module Pokemon (
|
module Pokemon (
|
||||||
T(..)
|
T(..)
|
||||||
) where
|
) where
|
||||||
|
|
Loading…
Reference in a new issue