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