Jump to content

Talk:Dot product: Difference between revisions

m
(Perhaps a more plausible version of the 'for the functional fetishists' JavaScript example)
 
Line 4:
 
# Disrupting functional composition by using exception handling, rather than returning 'bottom', undefined, or a Maybe monad value when the two lists differ in length, and
# not demonstrating the use of the obvious functional primitives and composition in this case: '''sum(zipWith(product, xs, ys)'''
 
 
9,655

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.