Transcript from the "Point Free Exercise" Lesson
>> Kyle Simpson: All right, let's do an exercise to practice these point free refactoring techniques. In this exercise, you've been given several different functions. The README will indicate three of them, the output function, the printIF function and the isLongEnough function. Those three functions you need to modify or refactor them to be defined point free.
[00:00:22] So if you look in the exercise file, you'll see they're all at the top. You have the output function, the printIf function, and the isShortEnough function, I'm sorry, the isLongEnough function. Those are the three functions that you want to refactor to be point free using the techniques that we talked about.
[00:00:40] There are listed in here a number of hints, and these are important for you to actually complete the exercise. So make sure you check out the hints in the README, they should help you with those three factorings. Your test cases essentially are that the first one should print hello, then nothing should be printed by the next two, and the last one should print Hello World.