X-Git-Url: https://git.martlubbers.net/?p=cloogle-irc.git;a=blobdiff_plain;f=GenIRC.dcl;fp=GenIRC.dcl;h=0000000000000000000000000000000000000000;hp=047bad2604db8fd0ec348dd68c312b89f994f0cf;hb=c78c6197214262f5332c3cec2f1a1494a95acc33;hpb=f379174bc06f111322df8922c1bc80cfad951dd5 diff --git a/GenIRC.dcl b/GenIRC.dcl deleted file mode 100644 index 047bad2..0000000 --- a/GenIRC.dcl +++ /dev/null @@ -1,15 +0,0 @@ -definition module GenIRC - -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] - -derive gIRCParse IRCCommand, String, Int, Maybe, (,), [], CSepList -derive gIRCPrint IRCCommand, String, Int, Maybe, (,), [], CSepList