X-Git-Url: https://git.martlubbers.net/?p=cloogle-irc.git;a=blobdiff_plain;f=test.icl;h=5ffe81899678f2cef756d31c84f27a83ea6df560;hp=d9498b479f7271cdfce10bc87f84b18ef1277526;hb=663ea3d6dfb6a70ddf1f3b6c41d4d39ed30c4440;hpb=d0094022a0169765678e500d2713db15433248bd diff --git a/test.icl b/test.icl index d9498b4..5ffe818 100644 --- a/test.icl +++ b/test.icl @@ -1,5 +1,16 @@ module test +from Data.Func import $ +import Data.Either +import Data.Maybe +import StdEnv import IRC -Start = "hi" +Start :: [String] +Start = map toString + [NICK "clooglebot" Nothing + ,USER "cloogle" "0" "Cloogle bot" + ,JOIN [("#cloogle", Nothing)] + ,PRIVMSG ["#cloogle"] "Hello world" + ,QUIT Nothing + ]