madtrick/wsecli — pull request #18 by lavrin (2014-06-16 15:14:28+00:00)
Title: Make #callbacks{} Dialyzer friendly

This is how I should've solved the problem in the first place - just by typespeccing the record fields appropriately. Now Dialyzer would be able to pinpoint the issue if `on_close` callback had an arity different than the spec.