Also, wouldn't it be better to write things like
(+ (- (* (exp (* (- r) t)) strike) s) call)))
(+ call (- s) (* strike (exp (- (* r t)))))
(I was probably wrong to expect self-explanatory code, e.g. with docstrings, but IMO the readability could be improved)
Also, wouldn't it be better to write things like
in a more schemer-friendly way as to avoid parenthesis syndrome?(I was probably wrong to expect self-explanatory code, e.g. with docstrings, but IMO the readability could be improved)