fixing some bugs such as type:none isn't a function, but a constant, and that we need to type-eval, not type-eval-sequence even if it might be a sequence. also some spacing.