X-Git-Url: https://git.martlubbers.net/?p=cloogle-irc.git;a=blobdiff_plain;f=IRCBot.dcl;h=06d8e7fa4f36a56dff448324e73ddb20b989fd11;hp=f0f0af26c6923af0e2306c1ea59c48ef5971db5f;hb=e81450dc6e427524ac74160cc9d54b1d8fb40cba;hpb=e0d247935b1e66e7ae77c1e73dd6a0623dc97f5f diff --git a/IRCBot.dcl b/IRCBot.dcl index f0f0af2..06d8e7f 100644 --- a/IRCBot.dcl +++ b/IRCBot.dcl @@ -24,4 +24,4 @@ from Data.Error import :: MaybeErrorString, :: MaybeError * param: World * return: Maybe an error, the state and the new world */ -bot :: (String, Int) [IRCMessage] [IRCMessage] .a (IRCMessage .a *World -> *(Maybe [IRCMessage], .a, *World)) *World -> *(Maybe String, .a, *World) +bot :: (String, Int) [IRCMessage] [IRCMessage] .a (IRCMessage -> (.a -> .(*World -> *(Maybe [IRCMessage], .a, *World)))) *World -> *(Maybe String, .a, *World)