Haskell Tutorial
Haskell Useful Resources
Selected Reading
- Haskell - Zippers
- Haskell - Monads
- Haskell - Functor
- Haskell - Input & Output
- Haskell - Modules
- Haskell - Function Composition
- Haskell - More On Functions
- Haskell - Functions
- Haskell - Types and Type Class
- Haskell - Decision Making
- Haskell - Basic Operators
- Haskell - Basic Data Models
- Haskell - Environment Set Up
- Haskell - Overview
- Haskell - Home
Haskell Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Haskell - Decision Making
Haskell - Decision Making
Decision Making is a feature that allows the programmers to apply a condition in the code flow. The programmer can execute a set of instructions depending on a predefined condition. The following flowchart shows the decision-making structure of Haskell −
Haskell provides the following types of decision-making statements −
Sr.No. | Statement & Description |
---|---|
1 | One if statement with an else statement. The instruction in the else block will execute only when the given Boolean condition fails to satisfy. |
2 | Multiple if blocks followed by else blocks |