Skip to content

Instantly share code, notes, and snippets.

@sritchie
Created February 15, 2011 23:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sritchie/828499 to your computer and use it in GitHub Desktop.
Save sritchie/828499 to your computer and use it in GitHub Desktop.
;; This one?
(defn delta [f start end]
(- (f end) (f start)))
;; or this one?
(defn delta [f start end]
(reduce - (map f [end start])))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment