git.iko.soy/distributed-process
on master help sign in
Explicit: OverlappingInstances unnecessary
commitf4242236ac45a7950acfb15768ecb09c1e1d699d authorBen Gamari <ben@smart-cactus.org> dateWed 6 Jul 2016, 20:34 (10 years ago) parent34c1b12
1 file changed+1−2
src/Control/Distributed/Process/Internal/Closure/Explicit.hs+1−2
src/Control/Distributed/Process/Internal/Closure/Explicit.hs+1−2
@@ -6,7 +6,6 @@
66 , UndecidableInstances
77 , KindSignatures
88 , GADTs
9− , OverlappingInstances
109 , EmptyDataDecls
1110 , DeriveDataTypeable #-}
1211module Control.Distributed.Process.Internal.Closure.Explicit
@@ -109,7 +108,7 @@ instance Binary EndOfTuple where
109108class Curry a b | a -> b where
110109 curryFun :: a -> b
111110
112−instance Curry ((a,EndOfTuple) -> b) (a -> b) where
111+instance Curry ((a, EndOfTuple) -> b) (a -> b) where
113112 curryFun f = \x -> f (x,undefined)
114113
115114instance Curry (b -> c) r => Curry ((a,b) -> c) (a -> r) where