Open GoogleCodeExporter opened 9 years ago
More research.
this simplified function also fails:
deja'' :: Thrist DejaVu () [a] -> Thrist DejaVu () [a]
deja'' (t@(Cons (Stop []) Nil)) = t
this one finally loads:
deja'' :: Thrist DejaVu () [a] -> Thrist DejaVu () [a]
deja'' (t@(Cons (Stop _) Nil)) = t
Original comment by ggr...@gmail.com
on 17 Nov 2007 at 10:45
Getting closer:
deja'' :: DejaVu () (Test a) -> DejaVu () (Test a)
deja'' (t@Stop Ahh) = t
This also compiles, and is very similar to the testcase. The wrapping in Thrist
seems to make the difference.
Testcase is updated.
Original comment by ggr...@gmail.com
on 17 Nov 2007 at 11:06
Original comment by ggr...@gmail.com
on 6 Dec 2007 at 1:35
a tentative fix is at r38.
please review, especially the unify with (Star level 0) part.
I am not at all sure that this fix is right :-/
patch attached
Original comment by ggr...@gmail.com
on 6 Dec 2007 at 11:05
Attachments:
Original comment by ggr...@gmail.com
on 13 Feb 2009 at 2:38
Original issue reported on code.google.com by
ggr...@gmail.com
on 17 Nov 2007 at 9:35