From 87c20d81619b09b2e3c5d6f00b7b2cad900a67fe Mon Sep 17 00:00:00 2001 From: Sam T Date: Sun, 21 Jul 2013 13:29:37 +0400 Subject: ~ Move some extensions to cabal. --- src/Network/BitTorrent/Tracker/HTTP.hs | 1 - src/Network/BitTorrent/Tracker/Protocol.hs | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'src/Network/BitTorrent/Tracker') diff --git a/src/Network/BitTorrent/Tracker/HTTP.hs b/src/Network/BitTorrent/Tracker/HTTP.hs index fe690b96..0ada154b 100644 --- a/src/Network/BitTorrent/Tracker/HTTP.hs +++ b/src/Network/BitTorrent/Tracker/HTTP.hs @@ -13,7 +13,6 @@ -- For more information see: -- -- -{-# LANGUAGE OverloadedStrings #-} module Network.BitTorrent.Tracker.HTTP ( askTracker, leaveTracker , scrapeURL diff --git a/src/Network/BitTorrent/Tracker/Protocol.hs b/src/Network/BitTorrent/Tracker/Protocol.hs index d1fff73c..ee395883 100644 --- a/src/Network/BitTorrent/Tracker/Protocol.hs +++ b/src/Network/BitTorrent/Tracker/Protocol.hs @@ -18,12 +18,10 @@ -- scrape query -- which queries the state of a given torrent (or -- a list of torrents) that the tracker is managing. -- -{-# OPTIONS -fno-warn-orphans #-} -{-# LANGUAGE OverloadedStrings #-} -{-# LANGUAGE RecordWildCards #-} -{-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE FlexibleInstances #-} +{-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE TemplateHaskell #-} +{-# OPTIONS -fno-warn-orphans #-} module Network.BitTorrent.Tracker.Protocol ( Event(..), AnnounceQuery(..), AnnounceInfo(..) , defaultNumWant , defaultPorts -- cgit v1.2.3