Is it possible replace the question mark in the following code in order to
make defaultMyType return a don't care value for b?
data MyType t = MyType { a :: Int, b :: t}
defaultMyType :: MyType
defaultMyType = MyType {a = 0, b = ?}
Cheers,
-- Andre
On Tue, 8 Jul 2003 23:16:33 -0300
Andre W B Furtado [EMAIL PROTECTED] wrote:
Is it possible replace the question mark in the following code in
order to make defaultMyType return a don't care value for b?
data MyType t = MyType { a :: Int, b :: t}
defaultMyType :: MyType
defaultMyType =