blob: 65fb8a7ba22696819dde8c6307975cccb813cfc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
-- !!! Recursive newtypes
-- Needs -O
-- This one made GHC < 5.00.2 go into an
-- infinite loop in the strictness analysier
module Foo where
newtype V = MkV V
f :: V -> V
f (MkV v) = v
|