robinp, Hungarian
@robinp@mastodon.social avatar

I often see in #Haskell codebases foo $ bar $ baz $ 5. Let's put it aside that I mostly agree with https://www.haskellforall.com/2015/09/how-to-make-your-haskell-code-more.html suggestion on foo (bar (baz 5)) and try to stick it whenever I can. But for the original, I always found foo . bar . baz $ 5 easier to read, and easier to refactor (just copy the dotty part to a helper). Don't be so $-oriented ;)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • KamenRider
  • Ask_kbincafe
  • TheResearchGuardian
  • KbinCafe
  • Socialism
  • oklahoma
  • SuperSentai
  • feritale
  • All magazines