mirror of
https://github.com/joshuaclayton/unused.git
synced 2024-10-26 05:07:35 +03:00
append (++) is not commutative
This commit is contained in:
parent
558c4ed2f4
commit
dbee79e525
@ -9,7 +9,7 @@ search t = do
|
|||||||
results <- ag t
|
results <- ag t
|
||||||
return $ linesMap prefixTerm results
|
return $ linesMap prefixTerm results
|
||||||
where
|
where
|
||||||
prefixTerm = (++ t)
|
prefixTerm = ((++) t)
|
||||||
|
|
||||||
linesMap :: (String -> String) -> String -> [String]
|
linesMap :: (String -> String) -> String -> [String]
|
||||||
linesMap f =
|
linesMap f =
|
||||||
|
Loading…
Reference in New Issue
Block a user