X-Git-Url: https://git.martlubbers.net/?p=cloogle-irc.git;a=blobdiff_plain;f=GenIRC.dcl;h=047bad2604db8fd0ec348dd68c312b89f994f0cf;hp=789c97664a9e6eecdc151e90be06ca8bc5edbd40;hb=1c65613d8732d28f6c6c11864ccbc761918ac594;hpb=0ccf6e4772c240fb79d58f8b4d833a23e278e297 diff --git a/GenIRC.dcl b/GenIRC.dcl index 789c976..047bad2 100644 --- a/GenIRC.dcl +++ b/GenIRC.dcl @@ -1,11 +1,13 @@ definition module GenIRC import StdGeneric -from IRC import :: IRCCommand, :: CSepList + from Data.Either import :: Either from Data.Maybe import :: Maybe from Text.Parsers.Simple.Core import :: Error +from IRC import :: IRCCommand, :: CSepList + generic gIRCParse a :: [String] -> (Either Error a, [String]) generic gIRCPrint a :: a -> [String]