ABC words: Difference between revisions
m
→{{header|Haskell}}
(→{{header|Python}}: Added a functionally composed variant.) |
|||
Line 525:
| c == x = Just xs
| otherwise = go xs
--------------------------- TEST -------------------------
main :: IO ()
main =
readFile "unixdict.txt"
>>= mapM_ print
{{Out}}
<pre>(1,"aback")
|