git-annex/standalone/android/haskell-patches/distributive_0.3-0001-fixes-for-cross-build.patch

39 lines
1.3 KiB
Diff

From ddf49377d37c82575c1b0b712a476fa93fc00d6b Mon Sep 17 00:00:00 2001
From: Joey Hess <joey@kitenet.net>
Date: Thu, 18 Apr 2013 17:39:28 -0400
Subject: [PATCH] fixes for cross build
---
distributive.cabal | 2 +-
src/Data/Distributive.hs | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/distributive.cabal b/distributive.cabal
index 66ac73c..5204755 100644
--- a/distributive.cabal
+++ b/distributive.cabal
@@ -12,7 +12,7 @@ bug-reports: http://github.com/ekmett/distributive/issues
copyright: Copyright (C) 2011 Edward A. Kmett
synopsis: Haskell 98 Distributive functors -- Dual to Traversable
description: Haskell 98 Distributive functors -- Dual to Traversable
-build-type: Custom
+build-type: Simple
extra-source-files:
.ghci
.travis.yml
diff --git a/src/Data/Distributive.hs b/src/Data/Distributive.hs
index 6f5613d..66eaed2 100644
--- a/src/Data/Distributive.hs
+++ b/src/Data/Distributive.hs
@@ -26,8 +26,6 @@ import Data.Functor.Identity
import Data.Functor.Product
import Data.Functor.Reverse
-{-# ANN module "ignore Use section" #-}
-
-- | This is the categorical dual of 'Traversable'. However, there appears
-- to be little benefit to allow the distribution via an arbitrary comonad
-- so we restrict ourselves to 'Functor'.
--
1.8.2.rc3