DATx02-16-14 / Hastings

A project evaluating Haste.App and the suitability of Haskell for the web.
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Refactor/lobby server sub modules #83

Closed Kalior closed 8 years ago

Kalior commented 8 years ago

LobbyServer

Is now named Server and has three submodules: Server.Lobby, Server.Game, Server.Chat. Server deals only in Server monad and the submodules only in IO.

Also removed unnecessary functions.

LobbyAPI

Structured the file somewhat. Also removed unused functions.

Resolves #80 and enables #73 to be written easier by testing all IO functions.

mattiasnilsen commented 8 years ago

Looks good, hlint had some comments on the submodules, other than that it's ok to merge.