X-Git-Url: https://git.martlubbers.net/?p=cloogle-irc.git;a=blobdiff_plain;f=GenIRC.dcl;h=047bad2604db8fd0ec348dd68c312b89f994f0cf;hp=896362de23b3e9814d0208af6903a32b3245702f;hb=f379174bc06f111322df8922c1bc80cfad951dd5;hpb=7a2a0cc9ba44d6073ae1778b07738c8d425e9cb5 diff --git a/GenIRC.dcl b/GenIRC.dcl index 896362d..047bad2 100644 --- a/GenIRC.dcl +++ b/GenIRC.dcl @@ -1,10 +1,13 @@ definition module GenIRC -from IRC import :: IRCCommand, :: CSepList +import StdGeneric + 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]