From 854f4914bf3b9678f1be84c44db7993103d53a01 Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 3 Jun 2002 14:16:13 +0000 Subject: [haddock @ 2002-06-03 14:16:13 by simonmar] More test cases --- examples/Test.hs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/examples/Test.hs b/examples/Test.hs index c2ff45f7..2ad444b1 100644 --- a/examples/Test.hs +++ b/examples/Test.hs @@ -28,8 +28,14 @@ module Test ( -- ** Records R(..), + -- | test that we can export record selectors on their own: + p, q, u, + -- * Class declarations C(a,b), D(..), E, F(..), + + -- | Test that we can export a class method on its own: + a, -- * Function types f, g, @@ -133,6 +139,9 @@ class D a where instance D Int +-- instance with a qualified class name +instance Test.D Float + class E a where ee :: Int -- ^ This is a class declaration with no methods (or no methods exported) -- cgit v1.2.3