Mercurial > urweb
view tests/mutual.ur @ 1535:27190faa36a3
Handle case where shakeExp can remove datatype.
author | Karn Kallio <kkallio@eka> |
---|---|
date | Sat, 13 Aug 2011 00:07:28 -0430 |
parents | 61a1f5c5ae2c |
children |
line wrap: on
line source
datatype foo = A | B of bar and bar = C | D of foo val q = B (D A) fun main () = return <xml> {case q of B (D A) => <xml>Good</xml> | _ => <xml>Bad</xml>} </xml>