diff :: (a -> a) -> (a -> a)

Differentiate scalar -> scalar functions symbolically.