idris-0.10.2: Functional Programming Language with Dependent Types

Safe HaskellNone
LanguageHaskell98

Idris.TypeSearch

Synopsis

Documentation

searchPred :: IState -> Type -> [(Name, Type)] -> [(Name, Score)] Source

Our default search predicate.

defaultScoreFunction :: Score -> Int Source

Convert a Score to an Int to provide an order for search results. Lower scores are better.