> For the complete documentation index, see [llms.txt](https://haskell.hpmeducation.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://haskell.hpmeducation.com/defining-functions-working-with-functions/conditionals.md).

# Conditionals

**Conditionals** are a key construct in any programming language. They let us make decisions within our code based on certain values. In Haskell, we have a few different ways of writing conditional expressions, including **if-then-else statements**, **guarded equations** and **case expressions**.
