Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/3932f7f051b55a69465e3d74355cc1b3e4feaaf1 >--------------------------------------------------------------- commit 3932f7f051b55a69465e3d74355cc1b3e4feaaf1 Author: Simon Peyton Jones <[email protected]> Date: Fri Aug 12 21:47:14 2011 +0100 Correct typo (fix Trac #5411) >--------------------------------------------------------------- docs/users_guide/glasgow_exts.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml index 3a06019..b4ce161 100644 --- a/docs/users_guide/glasgow_exts.xml +++ b/docs/users_guide/glasgow_exts.xml @@ -4626,7 +4626,7 @@ foo B = 2 -- ...will produce a type error. </programlisting> Instead, you would have to write <literal>foo</literal> as a class operation, thus: <programlisting> -class C a where +class Foo a where foo :: T a -> Int instance Foo Int where foo A = 1 _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
