Skip to content

Instantly share code, notes, and snippets.

@horus
Created July 11, 2012 08:46
Show Gist options
  • Select an option

  • Save horus/3089085 to your computer and use it in GitHub Desktop.

Select an option

Save horus/3089085 to your computer and use it in GitHub Desktop.
updating haskell98 out for Network.XMPP
diff -ruN a/XMPP-0.1.2/Network/XMPP/Stanzas.hs b/XMPP-0.1.2/Network/XMPP/Stanzas.hs
--- a/XMPP-0.1.2/Network/XMPP/Stanzas.hs 2012-07-11 16:31:35.000000000 +0800
+++ b/XMPP-0.1.2/Network/XMPP/Stanzas.hs 2012-07-11 16:33:32.000000000 +0800
@@ -31,7 +31,7 @@
import Network.XMPP.XMLParse
import Network.XMPP.JID
import System.Random
-import Maybe
+import Data.Maybe
--- Sending info requests and responses
diff -ruN a/XMPP-0.1.2/Network/XMPP/XMLParse.hs b/XMPP-0.1.2/Network/XMPP/XMLParse.hs
--- a/XMPP-0.1.2/Network/XMPP/XMLParse.hs 2012-07-11 16:31:35.000000000 +0800
+++ b/XMPP-0.1.2/Network/XMPP/XMLParse.hs 2012-07-11 16:33:54.000000000 +0800
@@ -21,7 +21,7 @@
where
import Text.ParserCombinators.Parsec
-import List
+import Data.List
-- |A data structure representing an XML element.
data XMLElem = XML String [(String,String)] [XMLElem]
diff -ruN a/XMPP-0.1.2/XMPP.cabal b/XMPP-0.1.2/XMPP.cabal
--- a/XMPP-0.1.2/XMPP.cabal 2012-07-11 16:31:35.000000000 +0800
+++ b/XMPP-0.1.2/XMPP.cabal 2012-07-11 16:32:27.000000000 +0800
@@ -24,5 +24,5 @@
Network.XMPP.XMPPMonad, Network.XMPP.MyDebug,
Network.XMPP.Roster
- Build-depends: base >= 4.0 && < 5, haskell98, random, utf8-string,
+ Build-depends: base >= 4.0 && < 5, random, utf8-string,
network, parsec >= 2.0 && < 3, mtl, hsdns >= 1.4.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment