diff options
Diffstat (limited to 'lib/plugins/txt/markov.ex')
-rw-r--r-- | lib/plugins/txt/markov.ex | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/plugins/txt/markov.ex b/lib/plugins/txt/markov.ex index b47666c..2b3d210 100644 --- a/lib/plugins/txt/markov.ex +++ b/lib/plugins/txt/markov.ex @@ -1,9 +1,7 @@ defmodule Nola.Plugins.Txt.Markov do - @type state :: any() @callback start_link() :: {:ok, state()} - @callback reload(content :: Map.t, state()) :: any() - @callback sentence(state()) :: {:ok, String.t} | {:error, String.t} - @callback complete_sentence(state()) :: {:ok, String.t} | {:error, String.t} - + @callback reload(content :: Map.t(), state()) :: any() + @callback sentence(state()) :: {:ok, String.t()} | {:error, String.t()} + @callback complete_sentence(state()) :: {:ok, String.t()} | {:error, String.t()} end |