X-Git-Url: https://git.martlubbers.net/?p=cloogle-irc.git;a=blobdiff_plain;f=IRCBot.dcl;fp=IRCBot.dcl;h=a016649b956ea35f8f0a300dd7dffa4e968ae036;hp=06d8e7fa4f36a56dff448324e73ddb20b989fd11;hb=998c6376312382e65d05473c5778d6ac63add47f;hpb=07a2d37e49592bcbc29223ef864a20543b6e3121 diff --git a/IRCBot.dcl b/IRCBot.dcl index 06d8e7f..a016649 100644 --- a/IRCBot.dcl +++ b/IRCBot.dcl @@ -24,4 +24,5 @@ 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) +//bot :: (String, Int) [IRCMessage] [IRCMessage] .a (IRCMessage -> (.a -> .(*World -> *(Maybe [IRCMessage], .a, *World)))) *World -> *(Maybe String, .a, *World)