From 703c91af7525838dff97f88245bf7482745e771e Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Sun, 28 Feb 2010 13:06:10 -0500 Subject: Changing foldRX to mapX --- demo/batchFun.ur | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'demo/batchFun.ur') diff --git a/demo/batchFun.ur b/demo/batchFun.ur index 3f0317a8..f665b132 100644 --- a/demo/batchFun.ur +++ b/demo/batchFun.ur @@ -72,7 +72,7 @@ functor Make(M : sig | Cons (r, ls) => {[r.Id]} - {@foldRX2 [colMeta] [fst] [_] + {@mapX2 [colMeta] [fst] [_] (fn [nm :: Name] [p :: (Type * Type)] [rest :: {(Type * Type)}] [[nm] ~ rest] m v => {m.Show v}) @@ -88,7 +88,7 @@ functor Make(M : sig - {@foldRX [colMeta] [_] + {@mapX [colMeta] [_] (fn [nm :: Name] [p :: (Type * Type)] [rest :: {(Type * Type)}] [[nm] ~ rest] m => ) @@ -144,7 +144,7 @@ functor Make(M : sig
Id{[m.Nam]}
- {@foldRX2 [colMeta] [snd] [_] + {@mapX2 [colMeta] [snd] [_] (fn [nm :: Name] [p :: (Type * Type)] [rest :: {(Type * Type)}] [[nm] ~ rest] m s => ) -- cgit v1.2.3
Id:
{[m.Nam]}: {m.Widget s}