stuff
This commit is contained in:
parent
ee3805de78
commit
19620148ba
@ -2,7 +2,11 @@ module IRC.Connection where
|
|||||||
|
|
||||||
import Data.Word (Word16)
|
import Data.Word (Word16)
|
||||||
|
|
||||||
--import qualified Network.Socket as S
|
import qualified Network.Socket as S
|
||||||
|
|
||||||
|
data Connection = Connection { connSocket :: S.Socket,
|
||||||
|
connNick :: String,
|
||||||
|
}
|
||||||
|
|
||||||
-- The host to connect to.
|
-- The host to connect to.
|
||||||
type Host = String
|
type Host = String
|
||||||
@ -10,4 +14,5 @@ type Host = String
|
|||||||
-- The port to connect to.
|
-- The port to connect to.
|
||||||
type Port = Word16
|
type Port = Word16
|
||||||
|
|
||||||
--connect :: S.Socket
|
connect :: Host -> Port
|
||||||
|
connect = error "unimplemented"
|
||||||
|
4
IRC/Plugins/Loader.hs
Normal file
4
IRC/Plugins/Loader.hs
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
module IRC.Plugins.Loader where
|
||||||
|
|
||||||
|
test :: Int
|
||||||
|
test = 1
|
3
IRC/Plugins/Tupfile
Normal file
3
IRC/Plugins/Tupfile
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
include_rules
|
||||||
|
|
||||||
|
: foreach *.hs |> ghc $(GHCFLAGS) -c %f |> %B.o %B.hi
|
Loading…
Reference in New Issue
Block a user