Sometimes your program will need to meet some requirements for space and time execution. It is really important to know how the data is represented, what lazy evaluation or strict evaluation involves, and how to control the space and time behavior. In this chapter, you will learn basic techniques to improve the performance of your programs.
Type Signatures
If you don’t specify the type signatures, GHC will provide you with a warning about defaults and missing types. It is important to explicitly ...