# Structure of the book

The book is divided into three chapters.

## Frequently asked question

This chapter contains answers to questions that might come up after reading the [official guide](https://guide.elm-lang.org/) by Evan Czaplicki or [The Beginning Elm Book](https://elmprogramming.com/) by Pawan Poudel. Additionally some basic questions can be answered by looking at the Elm [Syntax Document](https://elm-lang.org/docs/syntax).

This chapter does cover new topics or advanced tricks, but it will hint at related topics if they are relevant for the question.

## Recipes

This chapter contains well-known problems and the "correct" way to solve it. There might be different ways to do the job, but every problem should showcase just one solution with references to other solutions.

The solutions do not use community-packages, but implement as much as possible using the **elm/\*** packages. For better ways that involve specific packages, references are provided.

## **Frameworks and packages**

This chapter contains summaries of videos explaining specific packages. These summaries are meant to be a first introduction and should be used with the video. There are timestamps and all the functions that are needed to understand snippets of the video, after that introduction the reader is meant to checkout the official documentation.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://orasund.gitbook.io/elm-cookbook/frequently-asked-questions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
