Added: 2 years ago
From: dvollbracht
Views: 1,493
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (7)

Sign In or Sign Up now to post a comment!
  • singularizeWords = map singularize

  • @sharperguy

    I also think that this recursive programming style misses the whole point of functional programming. It is singularizeLines = map (unwords . singularizeWords . words) and singularize could be written more declaratively using a function like viewR.

  • @sharperguy more precisely, singularizeWords = unwords . (fmap singularize) . words

  • @noobyfromhell Yeah you do need unwords although I was leaving out words to allow for other sentences to be passed in (partial application).

  • synthesized voice is annoying.

  • What the fuck is wrong with his voice?  Is this what happens to people who use vi?

  • Hi, This is good, can you do something like a phone book like application in Haskell, please? Thanks

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more