Skip to content

Commit

Permalink
Housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
shybovycha committed Mar 19, 2024
1 parent e5f0201 commit 0409465
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.d/feature_use_symbols_for_sum_adts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Generate [`Symbol()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol) objects for sum ADTs and use equality (`===`) instead of `instanceof` for comparisons on sum ADTs
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ If you would prefer to use different terms, please use the section below instead
| [@senju](https://github.com/senju) | senju | [MIT license] |
| [@seungha-kim](https://github.com/seungha-kim) | Seungha Kim | [MIT license] |
| [@sharkdp](https://github.com/sharkdp) | David Peter | [MIT license] |
| [@shybovycha](https://github.com/shybovycha) | Artem Shubovych | [MIT license] |
| [@sigma-andex](https://github.com/sigma-andex) | Jan Schulte | [MIT license] |
| [@simonyangme](https://github.com/simonyangme) | Simon Yang | [MIT license] |
| [@sloosch](https://github.com/sloosch) | Simon Looschen | [MIT license] |
Expand Down
16 changes: 16 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,19 @@ Error: EACCES: permission denied
```

The best solution is to install [Node.js and npm via a node version manager](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm#using-a-node-version-manager-to-install-nodejs-and-npm). This error is due to permissions issues when installing packages globally. You can read more about this error in npm's guide to [resolving EACCES permissions errors when installing packages globally](https://docs.npmjs.com/getting-started/fixing-npm-permissions).

## hGetContents invalid argument error

If you encounter this error while trying to build purescript from sources:

```
language-javascript> happy: src/Language/JavaScript/Parser/Grammar7.y: hGetContents: invalid argument (invalid byte sequence)
```

You are most likely not using UTF-8 system-wide. This happens sometimes on Docker / Ubuntu. To fix this, generate the locales for the system:

```bash
apt-get install -y locales
echo 'en_US.UTF-8' >> /etc/locale.gen
locale-gen en_US.UTF-8
```

0 comments on commit 0409465

Please sign in to comment.