Mercurial > urweb
annotate tests/broad_unif.ur @ 1802:e3ec868567ce
Undo change to script evaluation, originally made to support <active> + 'giveFocus'; alternate approach to making 'giveFocus' work in dynamic code generatione
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Fri, 03 Aug 2012 08:38:47 -0400 |
parents | 71bafe66dbe1 |
children |
rev | line source |
---|---|
adamc@76 | 1 structure M = struct |
adamc@76 | 2 type t = int |
adamc@76 | 3 val f = fn x => x |
adamc@76 | 4 val y = f 0 |
adamc@76 | 5 end |
adamc@76 | 6 |
adamc@76 | 7 signature S = sig |
adamc@76 | 8 type t |
adamc@76 | 9 val f : t -> t |
adamc@76 | 10 end |
adamc@76 | 11 |
adamc@76 | 12 structure M : S = struct |
adamc@76 | 13 type t = int |
adamc@76 | 14 val f = fn x => x |
adamc@76 | 15 end |