Refactor tcInferArgs and add comments.
authorRichard Eisenberg <eir@cis.upenn.edu>
Fri, 24 Jun 2016 23:25:07 +0000 (19:25 -0400)
committerRichard Eisenberg <eir@cis.upenn.edu>
Sat, 25 Jun 2016 13:33:57 +0000 (09:33 -0400)
commit4cc5a39ec79af7dcc4a5ac96823c704c34c5c202
tree0edc864ff3dc3bd198fecd0e09226d7187afb621
parent5fdb854cbad734ed8113ea23485d834156b49df1
Refactor tcInferArgs and add comments.

This removes an unnecessary loop looking for invisible binders
and tries to clarify what the very closely-related functions
tcInferArgs, tc_infer_args, tcInferApps all do.
compiler/typecheck/Inst.hs
compiler/typecheck/TcHsType.hs
compiler/types/TyCoRep.hs
compiler/types/Type.hs