Yogurt-0.3: A MUD client librarySource codeContentsIndex
Network.Yogurt.Engine
Synopsis
connect :: String -> Int -> Mud () -> IO ()
runMud :: MVar MudState -> Mud a -> IO a
Documentation
connect :: String -> Int -> Mud () -> IO ()Source
connect hostname port program connects to a MUD and executes the specified program. Input is read from stdin, and output is written to stdout.
runMud :: MVar MudState -> Mud a -> IO aSource
Runs a Mud computation, executes the results (such as sending messages to the screen or the MUD) and returns the computation's result. The MVar is updated.
Produced by Haddock version 2.4.2