I do not understand why

f1 := proc(m, S::set) map(s->`if`(s={1},{m}, s),S); end:

f1(X, {{1}, {2}}); differs from inlined version of the same

f2 := proc(m, S::set) option inline; map(s->`if`(s={1},{m}, s),S); end:

f2(X, {{1}, {2}}); The first non-inlined version f1 is be my opinion correct, but what about the inlined f2?


Please Wait...