Help us understand the problem. What are the problem?

More than 3 years have passed since last update.

posted at

updated at

AOJ day 2: Psc-Package

Psc-Package is a tool for PureScript based on package sets -- that a given package should only have one version. This means that for any package that depends on purescript-effect, they will all only use purescript-effect at the given version, and will be validated to work with it when the package set is verified for consistency.

And while you could read some literature on why Bower was used as a default for PureScript projects (such as in Harry's blog here: https://harry.garrood.me/blog/purescript-why-bower/), it would be more productive to talk about how Psc-Package works and how you can use it today.

"Making a new library and using it in your own Psc-Package set"

In this post, I go through how you can have your own fork of package sets that you can update with your packages.

Since I wrote this post, I've written some dependencies for an alternative package set solution I have called "Spacchetti" (as in, a packet of spaghetti). In these guides, I have a quick explanation of what Psc-Package is and how it uses package sets:

In a future post, I'll go more into how Spacchetti works by utilizing a programming language called Dhall to generate package set JSON.

You may also be interested in this post about upgrading a Bower project to Psc-Package: https://qiita.com/kimagure/items/0d9354900d7a7dbd3864

You might also want to read about how you can implement your own Psc-Package: https://qiita.com/kimagure/items/625070775da70b37b67e

Register as a new user and use Qiita more conveniently

  1. You can follow users and tags
  2. you can stock useful information
  3. You can make editorial suggestions for articles
What you can do with signing up
Help us understand the problem. What are the problem?