[Haskell] Jones-optimal, typed, symbolic differentiation of (compiled) functions