diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-05-28 10:35:25 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-05-28 10:35:25 -0400 |
commit | 6a6c98d74f0eb61b52e8adc5385698a224eeccc1 (patch) | |
tree | bc9e633b76c75ea47d6cfdb826c549ed7cd4c66a /demo/crud2.ur | |
parent | 3cb644caeed50e5c82778b5ed7c165950655109a (diff) |
Demo compiles with pattern-matching-fu
Diffstat (limited to 'demo/crud2.ur')
-rw-r--r-- | demo/crud2.ur | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demo/crud2.ur b/demo/crud2.ur index 54992e28..a89b37b3 100644 --- a/demo/crud2.ur +++ b/demo/crud2.ur @@ -12,13 +12,13 @@ open Crud.Make(struct <xml>Ready!</xml> else <xml>Not ready</xml>), - Widget = (fn (nm :: Name) => <xml> + Widget = (fn [nm :: Name] => <xml> <select{nm}> <option>Ready</option> <option>Not ready</option> </select> </xml>), - WidgetPopulated = (fn (nm :: Name) b => <xml> + WidgetPopulated = (fn [nm :: Name] b => <xml> <select{nm}> <option selected={b}>Ready</option> <option selected={not b}>Not ready</option> |