r/purescript • • Jul 12 '17

New in Purescript 0.11.6: RowToList

21 Upvotes

Now you can work with your row types in new ways by converting to type-level RowLists! This lets us properly type a lot more dynamic JS functions and also gives us way to traverse through any rows like Record fields.

Release notes: https://github.com/purescript/purescript/releases/tag/v0.11.6

Cool post from Liam Goodacre about RowToList: https://liamgoodacre.github.io/purescript/rows/records/2017/07/10/purescript-row-to-list.html

Properly typed JSON.stringify demo from Phil Freeman: http://try.purescript.org/?gist=2720825b0476c8924717437fb6f6eefb (gist here)

Updated Purescript-Quickserve that lets you define routes of a web app quickly using records: https://github.com/paf31/purescript-quickserve/blob/master/test/Main.purs

Small demo I put together to extract field names from a record: https://gist.github.com/justinwoo/998e04307bd4179013b3ad222c5cb8e8


r/purescript • • Mar 14 '17

OutWatch - a new reactive UI library based on Rx for Scala and PureScript

Thumbnail outwatch.github.io
21 Upvotes

r/purescript • • Mar 28 '16

PureScript 0.8.3 release

Thumbnail
github.com
21 Upvotes

r/purescript • • Dec 17 '15

Pulp 6.0 released (now written in PureScript!)

Thumbnail
npmjs.com
21 Upvotes

r/purescript • • Oct 21 '22

Tecton: CSS in PureScript

20 Upvotes

I recently released Tecton, a new DSL for authoring CSS. My goal for this project is to make "CSS in PureScript" more practical for real-world use cases, meaning:

  • Extensive type-level validation

  • Minimal syntactic overhead

  • Broad CSS coverage

  • Alignment with W3C specifications

  • Exhaustive testing

If you're interested to take a look, a good place to start might be the Zen Garments example, adapted from Dan Mall's CSS Zen Garden submission in order to assess the library's CSS coverage.

From there, you might like to see some examples of CSS errors that will fail to compile. Some of these issues are significantly more complicated than e.g. providing a <length-percentage> value where a <length> was expected (although those cases are covered too).

Hopefully the next step would be to try it out for yourself, using the large test suite as a reference wherever the (WIP) docs currently fall short.

I am looking forward to any feedback you might have to offer! I would also like to note that contributions are welcome, so please let me know if you are interested via Twitter or email; or, if you have something specific in mind already, just review the contributing guidelines and then open an issue.

Thanks for reading!


r/purescript • • Feb 25 '21

PureScript environment using Nix

20 Upvotes

This is for anyone who knows Nix and wants to try PureScript, or for any PureScript users interested in seeing a working Nix shell example.

I've created a shell.nix that gives you a whole development environment in two three, uh, eight-ish commands.

    
    # Install Nix as a $ non-root user with sudo privileges
    curl -L https://nixos.org/nix/install | sh

    # in the directory with the shell.nix file
    nix-shell

    # Opens up a VSCode environment with PureScript plugins installed
    code .

    # Building your code
    # either one of two, or both with split windows
    # The spago route
    spago --help
    spago init
    spago test
    spago docs
    #etc. etc.
    
    # OR

    # Automate compiler and test runner
    pscid    # after a spago init

Add an .envrc with use_nix in it, install direnv and zsh for the greatest, laziest way of installing code. You know, once you spent all that work getting to know it

https://gist.github.com/D7x7w9pHnT-cmd/3ceb432336d9fb4c5ef7d3b1ac47269c


r/purescript • • May 08 '20

Halogen Hooks v0.3.0 Released

Thumbnail
github.com
20 Upvotes

r/purescript • • Jun 05 '19

Purescript concrete syntax trees - Nathan Faubion

Thumbnail
youtube.com
20 Upvotes

r/purescript • • Apr 26 '19

Purescript Halogen Starter

Thumbnail
github.com
20 Upvotes

r/purescript • • Dec 06 '17

Nathan Faubion on "Async Programming in PureScript" @ LA PureScript Meetup

Thumbnail
youtube.com
20 Upvotes

r/purescript • • Nov 13 '17

purescript-web3 initial release

Thumbnail
blog.foam.space
20 Upvotes

r/purescript • • Sep 10 '17

PureScript News is a curated publication of content relevant to anyone interested in PureScript

Thumbnail
purescript.news
20 Upvotes

r/purescript • • Jul 20 '17

A tutorial on connecting a Haskell backend to a PureScript frontend

Thumbnail
stackbuilders.com
20 Upvotes

r/purescript • • Aug 10 '16

Approximating GADTs in PureScript

Thumbnail code.slipthrough.net
20 Upvotes

r/purescript • • Jul 14 '16

PureScript for Front End Developers

Thumbnail
konkle.us
20 Upvotes

r/purescript • • Mar 22 '16

A Trello Monad in the Dark

Thumbnail
dvdsgl.co
20 Upvotes

r/purescript • • Feb 01 '16

Announcing PureScript 0.8

Thumbnail blog.functorial.com
20 Upvotes

r/purescript • • Sep 18 '24

My book Functional Design and Architecture is finally published!

Thumbnail reddit.com
19 Upvotes

r/purescript • • Mar 12 '22

Lumi is hiring Haskell/PureScript engineers (remote US/UK)

19 Upvotes

Lumi is looking for Haskell and PureScript engineers to grow our supply chain platform. Lumi helps manufacturers around the world make their capabilities available directly to ecommerce brands. We are open to remote candidates in the US and UK.

https://www.lumi.com/jobs

We are looking for a full-stack developers with skills in both backend and frontend development.

We use PureScript and React on the frontend and Haskell and Postgres on the backend. On the PureScript side, we use our own purescript-react-basic bindings, and purescript-lumi-components, a UI component library that we built and open-sourced. We get a lot of utility from PureScript’s type system, leveraging the compiler in order to ensure that we don’t get IDs for different entities mixed up, that all API calls are type correct, and that all form data is appropriately validated before it is used. On the Haskell side, we primarily use Servant and Esqueleto. We don’t expect candidates to have experience with all these things. We’d like to find engineers who are interested in learning more about these, and we’ll be happy to teach you.

Lumi was recently acquired by Narvar, where we are continuing to grow the team and leveraging Narvar’s experience building the software infrastructure that powers billions of e-commerce shipments for companies like Patagonia, Nike, GAP, Home Depot, etc.


r/purescript • • Oct 24 '18

PureScript on AWS Lambda: Using Express and Serverless

19 Upvotes

https://medium.com/@rajiv.abraham/purescript-on-aws-lambda-7cf04bbcc25e

Disclaimer: Author here (and evidently also a reddit newbie :) )


r/purescript • • Sep 22 '18

PureScript: Tomorrow’s JavaScript Today

Thumbnail
youtube.com
19 Upvotes

r/purescript • • Sep 22 '17

PureScript News Issue 3

Thumbnail
purescript.news
19 Upvotes

r/purescript • • Dec 10 '16

Presenting Halogen at the online meetup tomorrow

19 Upvotes

Hope this meetup doesn't go overlooked, as the topic seems pretty popular. I've looked for online presentations on Halogen, but couldn't find many, so I'm really excited to record updated material. Scheduled for 1PM PT - details: https://github.com/purescript/documentation/blob/master/ecosystem/PureScript-Meetups.md#purescript-unscripted


r/purescript • • Sep 29 '16

PureScript + Haskell role at Standard Chartered in London

Thumbnail
donsbot.wordpress.com
19 Upvotes

r/purescript • • Jul 11 '16

PureScript Compiler Version 0.9.2

Thumbnail
github.com
19 Upvotes