implemented goalieSearch
This commit is contained in:
1 parent
2926e28e34
commit
7e19ee072f
2 files changed
+25
-1
No files matched your search
@@ -843,7 +843,8 @@ goalieSearch
|
||||
-- ^ The list to search
|
||||
-> [(Int, Goalie)]
|
||||
-- ^ The search results with their corresponding index numbers
|
||||
goalieSearch = undefined
|
||||
goalieSearch sStr = filter (\(_, goalie) -> sStr `isInfixOf` (goalie^.gName)) .
|
||||
zip [0..]
|
||||
|
||||
-- | Searches a list of goalies for an exact match
|
||||
goalieSearchExact
|
||||
|
||||
Reference in new issue
Block a user