He was a philosopher. He was heavily influenced by Gottfried Wilhelm Leibniz.

Also see Kant’s characterisation of Hume’s Fork, and his version, Kant’s Trident, here.