Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
parent
c9cf590d84
commit
97b22171bf
@ -124,6 +124,7 @@ guessUser (((Set.toList . toNullable) <$>) . Set.toList . dnfTerms -> criteria)
|
|||||||
, b <- [True,False]
|
, b <- [True,False]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
-- Assuming the input list is sorted in descending order by closeness:
|
||||||
takeClosest [] = []
|
takeClosest [] = []
|
||||||
takeClosest [x] = [x]
|
takeClosest [x] = [x]
|
||||||
takeClosest (x:x':xs)
|
takeClosest (x:x':xs)
|
||||||
|
|||||||
Reference in New Issue
Block a user