
31 Jan
2001
31 Jan
'01
3:44 a.m.
On 30-Jan-2001, Marcin 'Qrczak' Kowalczyk
Tue, 30 Jan 2001 00:13:41 -0800, Ashley Yakeley
pisze: How do I define downcast?
You can use a non-standard module Dynamic present in ghc, hbc and Hugs (I don't know if it's compatible with O'Haskell).
That lets you downcast to specific ground types, but it doesn't
let you downcast to a type class constrained type variable.
--
Fergus Henderson