antisplice 0.12.0.0 → 0.12.1.0
raw patch · 2 files changed
+3/−2 lines, 2 files
Files
- antisplice.cabal +1/−1
- src/Game/Antisplice/Monad.hs +2/−1
antisplice.cabal view
@@ -10,7 +10,7 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 0.12.0.0+version: 0.12.1.0 -- A short (one-line) description of the package. synopsis: An engine for text-based dungeons.
src/Game/Antisplice/Monad.hs view
@@ -39,6 +39,7 @@ import Text.Chatty.Expansion import Text.Chatty.Expansion.Vars import Text.Chatty.Templates+import Text.Chatty.Interactor import Text.Chatty.Interactor.Templates import Text.Chatty.Channel.Printer import Text.Chatty.Channel.Broadcast@@ -56,7 +57,7 @@ mkInteractor ''VocabT mkChatty (mkFail ''SplErr) mkCounter mkDungeon mkRoom mkAtoms mkPlayer (mkChannelPrinter ''PlayerId) mkInteractor ''AtomStoreT mkChatty (mkFail ''SplErr) mkDungeon mkRoom mkVocab mkPlayer (mkChannelPrinter ''PlayerId) mkInteractor ''PlayerFilterT mkArchiver mkVocab mkAtoms mkCounter-liftM concat $ forM [''AnsiPrinterT,''HtmlPrinterT] $ mkChannelPrinter ''PlayerId+liftM concat $ forM [''AnsiPrinterT,''HtmlPrinterT,''ExpanderT,''NullExpanderT] $ mkChannelPrinter ''PlayerId instance ChannelPrinter PlayerId m => Broadcaster PlayerId (DungeonT m) where bprint c str = do