LoginSignup
1
1

More than 5 years have passed since last update.

PureScript libraries I've written that you might consider using, and some you shouldn't

Posted at

My libraries have a pretty "creative" naming scheme -- libraries that are absolutely usable have fairly boring names, and then all the libraries that are probably not ideal for every day are named after Korean snack foods.

Since every now and again someone actually wants to use my demonic creations, I'll try to keep this post somewhat up to date. And no, renaming these isn't an option because people will wrongly think many of these horrible libraries are meant to be used for everything. And also because Korean snack names are better than most other names these could get.

Please ping me anytime on Twitter @jusrin00 if you have any questions about these or if this list needs to be updated!

Useful libraries

  • Simple-JSON: zero-effort JSON decoding and encoding
  • Home-Run-Ball: refinement types done with row types. Incredibly useful for ensuring valid code paths AND for statically handling error conditions for displaying warnings to users.
  • Lenient-HTML-Parser: a lenient HTML to List of Tags parser in TagSoup style.

Pretty useful

  • Choco-Pie: a Cycle.js-like library for easy programming with circular events. This is a little questionable to use, but useful enough that I currently use it "in production".
  • PS-XStream: a wrapper for XStream by Andre Staltz. It's useful, but needs some maintenance help.
  • Milkis: a wrapper around node-fetch for easy fetching in node.
  • Node-Sqlite3: a wrapper for the sqlite3 library for node.
  • Node-he: a wrapper for the HE library for decoding and encoding HTML elements.

Questionably useful

  • Kancho: a library for using constrained PureScript types to generate port-safe Elm types for embedding Elm applications in PureScript.
  • OhYes: a library for using constrained PureScript types for transparent interop with TypeScript.
  • Node-Telegram-Bot-API: a wrapper around the node-telegram-bot-api library.

Don't use unless desperate

  • Jolly-Pong: a wrapper library for Redux that correctly types the row typed interactions like combineReducers and the variant action types.
  • Chapagetti: a wrapper around React-Redux with correct types.
  • Gorebab: a wrapper around Redux-Observable that tries to correctly type Epics and uses variants to correctly type filtered actions.
  • Bundaegi: a library for only defining Typescript types for use. See OhYes for a more useful library.
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1