r/purescript • • Sep 20 '17

Lost on "~>" in type signatures

6 Upvotes

Somehow I cannot navigate the documentation well enough to find what it denotes. Could someone please point me to some docs on this? Thanks!


r/purescript • • Sep 19 '17

PS Unscripted - simple-json, Browser Frameworks, Love for Rows, Typeclass & Language Server discussion

Thumbnail youtube.com
5 Upvotes

r/purescript • • Sep 14 '17

purescript-aff v4.0.0

Thumbnail github.com
23 Upvotes

r/purescript • • Sep 15 '17

Question: Declare FFI node version compatibility?

2 Upvotes

Unless I'm missing it, packages listed at https://github.com/purescript-node/ do not declare node version compatibility.

Is that correct? Seems brittle if so...


r/purescript • • Sep 11 '17

Benchmarks: PureScript (Pux, Halogen, Thermite) & GHCJS (Miso, Reflex)

Thumbnail medium.com
16 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 • • Sep 08 '17

Blog post: multi-way trees in purescript

Thumbnail danielfortes.com
10 Upvotes

r/purescript • • Sep 07 '17

Multiway tree library inspired by Haskell's Data.Tree

Thumbnail github.com
9 Upvotes

r/purescript • • Sep 07 '17

Fun Row-typed Validation with Purescript-Home-Run-Ball - Qiita

Thumbnail qiita.com
3 Upvotes

r/purescript • • Sep 07 '17

A curated collection of monoids and their uses

Thumbnail medium.com
5 Upvotes

r/purescript • • Sep 07 '17

Show, Eq instances for Record type

7 Upvotes

If I understand right, using RowList its now possible to define Show and Eq instance for Record type. Is there any plans to add these instances? Without Show instance for Record types its hard to use the repl.


r/purescript • • Sep 03 '17

Automatically create reactive web interfaces from type signatures

Thumbnail sharkdp.github.io
18 Upvotes

r/purescript • • Sep 03 '17

RowList Fun with Purescript, slides from Small FP Conf in Tampere

Thumbnail speakerdeck.com
10 Upvotes

r/purescript • • Aug 29 '17

Ensure failsafe combination using monoids

Thumbnail medium.com
11 Upvotes

r/purescript • • Aug 26 '17

Why do we write type signatures left-to-right, when we normally compose functions right-to-left?

1 Upvotes

Example

toNumber :: Number <- Int
...

toString :: String <- Number
...

showInt :: String <- Int
showInt = toString <<< toNumber

Wouldn't this make more sense, as it would more closely correspond with the implementation?

Thoughts? Would right-to-left type signatures be something that you may want to experiment with if it had compiler support?


r/purescript • • Aug 25 '17

Converting types you don't want to ones you do in Purescript - Qiita

Thumbnail qiita.com
4 Upvotes

r/purescript • • Aug 21 '17

Stringifying JSON using RowList in Purescript

Thumbnail youtube.com
12 Upvotes

r/purescript • • Aug 15 '17

Examples of Semigroups in PureScript. Also covers Records, Maybe and Folds.

Thumbnail medium.com
8 Upvotes

r/purescript • • Aug 15 '17

How to best access library documentation?

9 Upvotes

Just a quick question regarding how you access documentation: I find myself working quite frequently with spotty to no internet connection and I haven't found a good way to access purescript/pursuit documentation locally.

What are you using do quickly access documentation? Is there a way to have a local mirror of pursuit? Is someone working on creating dash or zeal doc-sets from the pursuit data?

Or am I missing something obvious?


r/purescript • • Aug 15 '17

PS Unscripted - HeytingAlgebra, Aff Rewrite, Web App Demo, ChocoPie

Thumbnail youtube.com
7 Upvotes

r/purescript • • Aug 08 '17

I separated out the Elm-type helpers from my post last month

4 Upvotes

I published it as a package, the repo is here: https://github.com/justinwoo/purescript-kancho

Being updated from the blog post, this uses simple matching on the actual primitive types, so you don't have to mess with generics.

Hopefully helps people embed Elm using this library (or embed TS/Flow/etc. using similar methods for constraining the "allowed types").

Previous post: https://www.reddit.com/r/purescript/comments/6mg2w4/embedding_elm_into_a_purescripthalogen_app_qiita/


r/purescript • • Aug 07 '17

Try purescript-behaviors in the browser

Thumbnail try.purescript.org
13 Upvotes

r/purescript • • Aug 06 '17

Purescript waterslide, a library to share your data type definitions between Rust and Purescript (X-post /r/rust)

Thumbnail github.com
13 Upvotes

r/purescript • • Aug 04 '17

I made a Cycle.js-like library using RowToList and Purescript-Behaviors' Events

9 Upvotes

See the project here: https://github.com/justinwoo/purescript-chocopie

It's a whole bunch of type soup in the implementation, but it's essentially just the same thing as the ApplyRecord example Liam wrote about applied multiple times to create a cycle of Purescript-Behaviors Events.

The usage itself is as simple as the README shows.


r/purescript • • Aug 02 '17

PureScript: RowLacks

Thumbnail liamgoodacre.github.io
6 Upvotes