projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 2001-06-05 09:30:20 by simonpj]
[ghc-hetmet.git]
/
ghc
/
tests
/
stranal
/
should_compile
/
str002.hs
1
-- !!! Recursive newtypes
2
-- Needs -O
3
-- This one made GHC < 5.00.2 go into an
4
-- infinite loop in the strictness analysier
5
6
module Foo where
7
8
newtype V = MkV V
9
10
f :: V -> V
11
f (MkV v) = v
12