Rename an argument of the function Set.fold
This commit is contained in:
parent
2bb69a5064
commit
a94abab8eb
@ -29,7 +29,7 @@ namespace Set =
|
||||
function filter(p : 'a => bool, s : set('a)) : set('a) =
|
||||
from_list(List.filter(p, to_list(s)))
|
||||
|
||||
function fold(f : ('a, 'b) => 'b, acc : 'b, l : set('a)) : 'b =
|
||||
function fold(f : ('a, 'b) => 'b, acc : 'b, s : set('a)) : 'b =
|
||||
List.foldr(f, acc, to_list(l))
|
||||
|
||||
function subtract(s1 : set('a), s2 : set('a)) : set('a) =
|
||||
|
Loading…
x
Reference in New Issue
Block a user