idris-0.11: Functional Programming Language with Dependent Types
Idris.TypeSearch
Synopsis
searchByType :: [String] -> PTerm -> Idris () Source
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.
Score
Int