X-Git-Url: https://git.martlubbers.net/?p=cloogle-irc.git;a=blobdiff_plain;f=GenIRC.dcl;h=047bad2604db8fd0ec348dd68c312b89f994f0cf;hp=789c97664a9e6eecdc151e90be06ca8bc5edbd40;hb=f379174bc06f111322df8922c1bc80cfad951dd5;hpb=6074fc23351ac06daad779b3ac6c09a36590de24 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]