erlang-language-platform/website
Tom Davies 36ce0a740c Unnecessary explicit fold to build a map
Summary:
Add new diagnostic and fix to warn on code of the form

```
lists:foldl(fun(K, Acc) -> Acc#{K => []} end, #{}, List)
```

and suggest

```
maps:from_keys(List, [])
```

and similarly for folds equivalent to `maps:from_list/1`

Reviewed By: alanz

Differential Revision: D69051447

fbshipit-source-id: efd4b8e181da1d8ebc5384c4671d7dffc1df39e5
2025-02-06 04:22:30 -08:00
..
docs Unnecessary explicit fold to build a map 2025-02-06 04:22:30 -08:00
src Fix title and description for site 2024-02-14 10:29:29 -08:00
static Document adding ELP support to Helix (#46) 2024-08-16 06:21:44 -07:00
.gitignore Initial commit 2023-08-02 07:54:59 -07:00
.npmrc Initial commit 2023-08-02 07:54:59 -07:00
babel.config.js Initial commit 2023-08-02 07:54:59 -07:00
docusaurus.config.js Upgrade to Docusaurus 3.6.2 2024-11-20 10:39:26 -08:00
package.json Bump katex dependency 2025-01-20 06:00:01 -08:00
README.md Initial commit 2023-08-02 07:54:59 -07:00
sidebars.js Initial commit 2023-08-02 07:54:59 -07:00
yarn.lock Bump katex dependency 2025-01-20 06:00:01 -08:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ yarn

Local Development

$ yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.