mirror of
https://github.com/WhatsApp/erlang-language-platform.git
synced 2025-12-23 12:26:48 +00:00
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
|
||
|---|---|---|
| .. | ||
| docs | ||
| src | ||
| static | ||
| .gitignore | ||
| .npmrc | ||
| babel.config.js | ||
| docusaurus.config.js | ||
| package.json | ||
| README.md | ||
| sidebars.js | ||
| yarn.lock | ||
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.