About This Book "Haskell Programming" is a textbook for high school and college students; it covers all essential Haskell language knowledge . You can learn complete primary skills of Haskell programming fast and easily . The textbook includes a lot of practical examples for beginners and includes exercises for the college final exam, the engineer certification exam, and the job interview exam . "Haskell Programming" is a useful textbook for beginners . The straightforward definitions, the plain examples, the elaborate explanations and the neat layout feature this helpful and educative book . You will be impressed by its distinctive and tidy writing style . Reading this book is a great enjoyment!
Note This book is only suitable for Haskell programming beginners, high school students and college students; it is not for the experienced Haskell programmers .
Source Code Available This book provides source code for reference; you can reference the source code for better study, or copy the source code to your favorite editor to test the programs.
Table of Contents
Hour 1 What is Haskell Language? Install Haskell Haskell Interactive Platform Run GHCi Data Type Check Data Type Escaping Characters Logical Operation Check Equality Comparison
Hour 2 Pred & Succ Max & Min Ceiling & Floor Div & Mod List Connect Lists Get an element Elements Sum & Product Compare List Add an Element List Variable List Step Length
Hour 3 Repeat List Elements Cycle List Elements Tuple The First Element The Last Element Zip Two Lists Compare Command Show Command Read Command Enum Range maxBound & minBound Round & Pi
Hour 4 Haskell Function Haskell Programming Platform Haskell Compiler Hello World Programm Run "Hello World" Program Comment of Haskell Variable Definition Addition & Subtraction Multiplication & Division
Hour 5 Remainder Check Equality "If - then - else" Statement Nest "If-then-else" Statement Range Function Type Int Type Integer Type Float Type Double Type Char Type Bool Type
Hour 6 String Type Ord Type Show Command Read Command Pred & Succ List Module Char Module Map Module Set Module More About Function Pattern Matching
Hour 7 Guards Where Recursive Function Lambda Function Head Command Last Command Init Command Tail Command Null Function Reverse Command Length Command Take Command
Hour 8 Drop Command Maximum Command Minimum Command Elem Command Sum Function Product Function Complex Function Write & Read File Functor Addition Functor Subtraction Functor Multiplication Functor Division