sicmutils icon indicating copy to clipboard operation
sicmutils copied to clipboard

Add generic `fmap` operation

Open sritchie opened this issue 4 years ago • 0 comments

If we do this, and take a tip from clojure.algo.generic, it will be easier to write generic functions that do stuff like replace-tag from sicmutils.differential.

https://github.com/clojure/algo.generic/blob/master/src/main/clojure/clojure/algo/generic/functor.clj

Many types implement something like this, thanks to @littleredcomputer . Getting them together under one roof is a nice move.

sritchie avatar Feb 16 '21 17:02 sritchie