speed up sortFooLike checking, handle case of literal type properly in typechecker
speed up sortFooLike checking, handle case of literal type properly in typechecker

darcs-hash:163fb5345eeef531e5bf09d7b972f07a95350d98

dpwright/jhc,dpwright/jhc,dpwright/jhc,dpwright/jhc