projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2005-02-13 10:53:13 by malcolm]
[ghc-base.git]
/
Control
/
Arrow.hs
diff --git
a/Control/Arrow.hs
b/Control/Arrow.hs
index
e439bfc
..
2710be6
100644
(file)
--- a/
Control/Arrow.hs
+++ b/
Control/Arrow.hs
@@
-126,7
+126,7
@@
instance Arrow (->) where
-- | Kleisli arrows of a monad.
-newtype Kleisli m a b = Kleisli (a -> m b)
+newtype Kleisli m a b = Kleisli { runKleisli :: a -> m b }
instance Monad m => Arrow (Kleisli m) where
arr f = Kleisli (return . f)