X-Git-Url: https://git.martlubbers.net/?p=cloogle-irc.git;a=blobdiff_plain;f=test.icl;fp=test.icl;h=da69fcd1f19837946ce0161bb427d81feba6c72a;hp=d9498b479f7271cdfce10bc87f84b18ef1277526;hb=a8fbb81c3108a913c6496553346037805157b9c0;hpb=87d709d61dae99cc468f52927e8246b3b6bc9022 diff --git a/test.icl b/test.icl index d9498b4..da69fcd 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" + ,USER "cloogle" 0 "Cloogle bot" + ,JOIN $ Right [("#cloogle", Nothing)] + ,PRIVMSG "#cloogle" "Hello world" + ,QUIT Nothing + ]