git.iko.soy/distributed-process
on master help sign in
Explicit: OverlappingInstances unnecessary
commit474de0d28bbd02095cb2ceb61facfe3f971e9c4d authorBen Gamari <ben@smart-cactus.org> dateWed 6 Jul 2016, 20:34 (10 years ago) parent6552226
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