<div dir="ltr">I was just doing the usual incantation for an exception type:<div><br></div><div>    data DatagramException = ...</div><div>      deriving stock (Eq,Show)</div><div>    instance Exception Datagram</div><div><br></div><div>And it suddenly hit me what a shame it was that I cannot put the Exception instance in a deriving clause like the others. It would be more visually pleasing to write:</div><div><br></div><div><div>    data DatagramException = ...</div><div>      deriving stock (Eq,Show)</div><div>      deriving defaulted (Exception)</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">-Andrew Thaddeus Martin</div></div></div>