r/purescript • u/kritzcreek • Oct 03 '15
r/purescript • u/paf31 • Aug 11 '15
purescript-debugger - A simple console debugger
r/purescript • u/fluffynukeit • Feb 15 '15
Purescript Puzzler 2 – an experiment in FP architecture
fluffynukeit.comr/purescript • u/[deleted] • Nov 16 '14
Any new opinions here? : Haste vs PureScript vs Elm vs ...
r/purescript • u/paf31 • Sep 04 '14
PureScript Book, Chapter 12 - Callback Hell
r/purescript • u/paf31 • Aug 31 '14
PureScript Book, Chapter 11 - "Monadic Adventures"
r/purescript • u/paf31 • Aug 17 '14
PureScript Book, Chapter 9: Canvas Graphics
r/purescript • u/graninas • Jul 26 '21
[ANN] Functional Design and Architecture: Second Edition (Manning Publications)
self.haskellr/purescript • u/MaoStevemao • Jun 01 '20
Comparison between Halogen and React?
Hey guys, I'm learning Halogen and PureScript. I'm wondering if there's a list of comparison between Halogen and React? EG: What are the pros and cons of each.
Besides syntax and type safety (presumably PureScript react binding solves this problem), the overall architecture seems quite similar to me. I'm wondering if there's anything that's very different I should pay attention to?
I'm particularly interested how Halogen handles side effects better than React as I'm not completely satisfied with React hooks as it breaks referential transparency of components.
Thanks!
r/purescript • u/saylu • Nov 20 '18
New guide for `purescript-routing-duplex`, a bidirectional route parsing library
r/purescript • u/HuShifang • Jun 20 '18
[Question] ELI5 - How to install Purescript using npm?
I'm a bit of an amateur, trying to install Purescript so as to play around with a pure functional language (I've spent some time with Elixir) while also playing around with JavaScript. I'd like to install it via npm. I've followed the directions at https://www.npmjs.com/package/purescript (I'm using .asdf as a version manager for NodeJS 10.1.0 with [email protected], and have both [email protected] and [email protected] already installed, along with Stack v1.7.1). When I run $ npm install -g purescript things seemingly go well at first but it inevitably errors out with the below log message.
What am I doing wrong? Is there some other way to install PureScript so that it will work with npm? Is .asdf getting in the way?
> [email protected] postinstall ~/.asdf/installs/nodejs/10.1.0/.npm/lib/node_modules/purescript
> install-purescript --purs-ver=0.12.0 .
✖ Check if a prebuilt 0.12.0 binary is provided for Linux
Error: Cannot find module '/package.json'
at createModuleNotFoundRejection
(~/.asdf/installs/nodejs/10.1.0/.npm/lib/node_modules/purescript/node_modules/load-from-cwd-or-npm/inde
x.js:34:22)
at npmCliDir.then.npmCliDirPath
(~/.asdf/installs/nodejs/10.1.0/.npm/lib/node_modules/purescript/node_modules/load-from-cwd-or-npm/inde
x.js:94:45)
▬ Download the prebuilt PureScript binary
▬ Verify the prebuilt binary works correctly
▬ Save the downloaded binary to the cache directory
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `install-purescript --purs-ver=0.12.0 .`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! ~/.npm/_logs/2018-06-20T19_29_06_974Z-debug.logr/purescript • u/saylu • May 14 '18
1.0.0 of `purescript-halogen-select` released!
pursuit.purescript.orgr/purescript • u/gabriel-rf • Apr 07 '18
Strictness suprises in PureScript Lazy lists built from recursive definitions.
schoolofhaskell.comr/purescript • u/jdegoes • Dec 05 '17
LambdaConf 2018: Call for Proposals Opens
r/purescript • u/[deleted] • Feb 06 '17
Purescript for non-js and non-frontend programmers?
This user no longer uses reddit. They recommend that you stop using it too. Get a Lemmy account. It's better. Lemmy is free and open source software, so you can host your own instance if you want. Also, this user wants you to know that capitalism is destroying your mental health, exploiting you, and destroying the planet. We should unite and take over the fruits of our own work, instead of letting a small group of billionaires take it all for themselves. Read this and join your local workers organization. We can build a better world together.
r/purescript • u/[deleted] • Oct 03 '16
How to represent arrays with multiple types of items in Purescript?
This may be a total noobie question, but I was wonder what type arrays with strings and numbers in them would take. Is that possible perhaps through a union type?
r/purescript • u/RelevantBits • Jun 28 '16
ConeCanvas lets you browse Reddit in a 3D graph visualisation [Haskell + Purescript] [x-post /r/dataisbeautiful]
conereddit.symbolian.netr/purescript • u/ephrion • Oct 22 '15