demobot/src/Bot/DSL/State.hs

6 lines
151 B
Haskell
Raw Normal View History

2018-12-23 23:23:14 +02:00
module Bot.DSL.State where
class Monad m => MonadData m where
getData :: Read a => String -> m (Maybe a)
putData :: Show a => String -> a -> m ()