fixes #797; generic procs can be used in places expecting matching concrete proc types