diff options
Diffstat (limited to 'demo/tcSum.ur')
-rw-r--r-- | demo/tcSum.ur | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/tcSum.ur b/demo/tcSum.ur index 080de173..13cefc39 100644 --- a/demo/tcSum.ur +++ b/demo/tcSum.ur @@ -1,4 +1,4 @@ -fun sum (t ::: Type) (_ : num t) (fs ::: {Unit}) (fl : folder fs) (x : $(mapUT t fs)) = +fun sum (t ::: Type) (_ : num t) (fs ::: {Unit}) (fl : folder fs) (x : $(mapU t fs)) = foldUR [t] [fn _ => t] (fn (nm :: Name) (rest :: {Unit}) [[nm] ~ rest] n acc => n + acc) zero [fs] fl x |