Dialyzer does not catch errors on returned functions

So, in this case, Dialyzer only check that greater_than returns a Function. It does not check what that Function returns (it assumes I know what I am doing), correct?

2 Likes