notes

Personal notes
git clone git://git.laack.co/notes.git
Log | Files | Refs

PointfreeProgramming.md (395B)


      1 # Pointfree Programming / Tacit Programming
      2 
      3 **Source:** Effective Haskell
      4 
      5 **Chapter:** 1
      6 
      7 **Definition:** Pointfree programming is a programming approach where functions don't have any named parameters. This is often achieved using eta-reduction to remove all named parameters.
      8 
      9 ## Example
     10 
     11 ```haskell
     12 
     13 firstPart = (<> " ")
     14 makeGreeting' = (<>) . firstPart
     15 makeGreeting' "hello" "andrew"
     16 
     17 ```