git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Update typeclasses.rst
commit34bfe558241ab4b150935bf04df96a16c2a99852 authorPhil Freeman <paf31@cantab.net> dateWed 23 Apr 2014, 22:45 (13 years ago) parent61aea87
1 file changed+1−1
docs/source/typeclasses.rst+1−1
docs/source/typeclasses.rst+1−1
@@ -36,7 +36,7 @@ Superclass implications can be indicated in a class declaration with a backwards
3636 class (Monad m) <= MonadFail m where
3737 fail :: forall a. String -> m a
3838
39−Superclass instances will be used when searching for an instance of a subclass. For example, in the code below, the ``Monad`` constraint introduced by the ``return`` function can be discharged since ``Monad`` is a superclass of ``MonadFail``.
39+Superclass instances will be used when searching for an instance of a subclass. For example, in the code below, the ``Monad`` constraint introduced by the ``return`` function can be discharged since ``Monad`` is a superclass of ``MonadFail``::
4040
4141 assert :: forall m. (MonadFail m) => Bool -> m {}
4242 assert true = return {}