purescript / pursuit

Website for hosting and searching PureScript API documentation
https://pursuit.purescript.org/
Other
169 stars 47 forks source link

Build-in knowledge of some type synonyms / operators? #359

Open hdgarrood opened 6 years ago

hdgarrood commented 6 years ago

For example, people might not know that the type of Data.Array.fromFoldable is forall f a. Foldable f => f ~> Array; this means that the query f a -> Array a does not pick it up. One way to address this could be to build in knowledge of some basic type operators like ~>.