Skip to content
Snippets Groups Projects
Commit b8fc8d11 authored by sof's avatar sof
Browse files

[project @ 1997-09-03 23:34:59 by sof]

new deriving test cases
parent 16ff3d46
No related branches found
No related tags found
No related merge requests found
--!!! deriving Ix on d. type with nullary constructors
module ShouldSucceed where
data AD = A | B | C | D deriving (Show, Ord, Eq, Ix)
--!!! deriving Ix on d. type with one constructor
module ShouldSucceed where
data Pair a b = Pair a b deriving (Show, Ord, Eq, Ix)
--!!! deriving Enum on d. type with nullary constructors
module ShouldSucceed where
data AD = A | B | C | D deriving (Enum)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment