r/purescript • u/jusrin • Oct 02 '18
Updated Spacchetti documentation with project-local package sets
https://spacchetti.readthedocs.io/en/latest/local-setup.html
3
Upvotes
r/purescript • u/jusrin • Oct 02 '18
View all comments
Show parent comment
1
u/jusrin Oct 02 '18
FAQ
Does Spacchetti CLI replace Psc-Package?
No, Spacchetti CLI only does some simple tasks that generate files and use Dhall to prepare Psc-Package package sets. There are no overlapping commands with Psc-Package.
What is Spacchetti?
It's a package set for psc-package that uses a language that almost acts like SASS for JSON/YAML, but has types and much more.
Why should I use Spacchetti over normal Psc-Package?
First, make sure to read the short explanation of Psc-Package: https://spacchetti.readthedocs.io/en/latest/intro.html
Then read the explanation of why and how Dhall is used: https://spacchetti.readthedocs.io/en/latest/why-dhall.html
In short, because package sets are annoying to edit when they're only in JSON form, but using Dhall can make working with this information much easier.