> For the complete documentation index, see [llms.txt](https://orasund.gitbook.io/elm-cookbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://orasund.gitbook.io/elm-cookbook/master.md).

# Introduction

In the [Elm Town Podcast 45: It Started off As a Morning Book](https://elmtown.simplecast.fm/it-started-off-as-a-morning-book) Jeremy Fairbank, the author of the Book [Programming Elm](https://programming-elm.com/), noticed that there is no Elm cookbook, that would serve as a follow-up to a beginners book. This book aims to fill this empty spot.

[This Book](https://orasund.gitbook.io/elm-cookbook/) is a collection of helpful answers from the [Elm subreddit](https://www.reddit.com/r/elm/), the [Discourse forum](https://discourse.elm-lang.org/), the [Elm Slack](https://elmlang.slack.com) as well as useful articles from [Medium](https://medium.com/tag/elm). It will cover things that are missing in the [official guide](https://guide.elm-lang.org/) and the [Beginning Elm Book](https://elmprogramming.com/) by Pawan Poudel.

Each section will focus on one specific problem and one solution. At the end of each section will be links to the original source as well as alternative solutions.

## This is a Community Project

The book is open-source and can be read [here](https://orasund.gitbook.io/elm-cookbook/).\
If you want to contribute an interesting post or article, first check if that topic is already covered. If so, add it to the *Further reading* section; If not, add it to *Future topics* and start a Pull Request on the [github repository](https://github.com/Orasund/elm-cookbook).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://orasund.gitbook.io/elm-cookbook/master.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
