Anonymous user
Dot product: Difference between revisions
m
Emacs Lisp: Remove trailing newline
(Emacs Lisp: Improve solution) |
m (Emacs Lisp: Remove trailing newline) |
||
Line 1,076:
(dot-product [1 2 3] [1 2 3]) ;=> 14
(dot-product '(1 2 3) '(1 2 3)) ;=> 14</lang>
=={{header|Erlang}}==
|