fizruk / fizruk/http-api-data

Can ordering guarantees be added to the docs?

Open
#144 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
53
Forks
45
PR merge metrics
No merged PRs in 30d

Description

If the following form is submitted...

```html

```

... does the library guarantee that the resultant **values** of the `HashMap` inside `Form { unForm :: HashMap Text [Text] }` will be in the same order as submitted by the browser, i.e. is the following result guaranteed?

```haskell
HashMap.fromList
[ ("photos[][id]", ["1", "2", "3"])
, ("photos[][caption]", ["caption1", "caption2", "caption3"])
]
```

There are some `stable` function variants, but somehow the documentation doesn't give the above clarity/comfort from my point of view.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.