
10 Oct
2002
10 Oct
'02
3:01 p.m.
Hi, the following example causes ghc to loop (or run rather long): --- snip --- data U = MkU (U -> Bool) russel :: U -> Bool russel u@(MkU p) = not $ p u x :: Bool x = russel (MkU russel) --- snip --- I think, a compiler should always terminate, shouldn't it!? Compilation succeeds for "russel $ MkU russel" instead of "russel (MkU russel)". (Surely, x is bottom and therefore the example is senseless) Regards Christian
8305
Age (days ago)
8305
Last active (days ago)
0 comments
1 participants
participants (1)
-
Christian Maeder