scala-search / scaps

Scala API Search
http://scala-search.github.io
Mozilla Public License 2.0
37 stars 4 forks source link

Denormalize Views #12

Closed Luegg closed 9 years ago

Luegg commented 9 years ago

Create views for each possible variance instead of only covariance. E.g. Int :> Any should result in the views +Int %> +Any and -Any %> -Int.

Also include views like +Nothing %> +_, -_ %> -Nothing and /_ %> /<unknown>.

This refactoring offers the following benefits: