Remove commented-out code

This commit is contained in:
Tissevert 2018-12-02 15:52:09 +01:00
parent abe5a5dc85
commit 7f244f83a4
2 changed files with 0 additions and 8 deletions

View file

@ -1,5 +1,4 @@
{-# LANGUAGE FlexibleContexts #-}
{- LANGUAGE MultiParamTypeClasses #-}
module Message (
Connected
, receive
@ -17,12 +16,6 @@ import qualified Message.Server as Server (Message(..))
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 message = do
connection <- ask

View file

@ -1,5 +1,4 @@
{-# LANGUAGE DeriveGeneric #-}
{- LANGUAGE FlexibleInstances #-}
module Pokemon (
T(..)
) where