view tests/mutual.ur @ 1526:b5d78407886d

Fix to use of .hg_archival.txt (thanks to Austin Seipp)
author Adam Chlipala <adam@chlipala.net>
date Tue, 02 Aug 2011 20:17:41 -0400
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>