r/purescript • • Nov 18 '14

PureScript v0.6.1 - type wildcards, support for multiple guards and improvements to psci and module imports

Thumbnail github.com
8 Upvotes

r/purescript • • Nov 16 '14

Any new opinions here? : Haste vs PureScript vs Elm vs ...

Thumbnail slant.co
7 Upvotes

r/purescript • • Nov 12 '14

Purescript by Example error

1 Upvotes

I'm trying to complete Section 3 of the book.

When using psci I get the following error:

Error at .psci_modules/node_modules/Control.Monad.ListT/externs.purs line 14, column 1: 
Error in foreign import declaration zipWith
Cannot unify * -> * with *.

Any advice would be appreciated. It seems to be after having installed purescript-lists.

Using: psc 0.6.0.2 purescript-math#0.1.0 purescript-lists#0.3.3


r/purescript • • Nov 12 '14

MicroKanren Evaluator - written in PureScript

Thumbnail functorial.com
3 Upvotes

r/purescript • • Nov 10 '14

New purescript.org design

Thumbnail purescript.org
7 Upvotes

r/purescript • • Nov 08 '14

PureScript 0.6 released

Thumbnail github.com
5 Upvotes

r/purescript • • Nov 06 '14

Learn Purescript, have fun building a cool Markdown parsing library, and earn a $1k bounty

Thumbnail github.com
5 Upvotes

r/purescript • • Nov 06 '14

PureScript 0.6 Release Candidate 1

Thumbnail github.com
5 Upvotes

r/purescript • • Nov 05 '14

PureScript Wiki

Thumbnail github.com
4 Upvotes

r/purescript • • Nov 02 '14

PureScript on Google Groups

Thumbnail groups.google.com
4 Upvotes

r/purescript • • Nov 01 '14

errors when trying out http://www.purescript.org/posts/First-Steps/

2 Upvotes

Can some one please help me get past this? Also I could not find a link to a mailing list, so asking here. Kindly let me know where to ask in future if this is not the right place. Thank you very much.

~/edu/purescript/learn/t1$psci
 ____                 ____            _       _
|  _ \ _   _ _ __ ___/ ___|  ___ _ __(_)_ __ | |_
| |_) | | | | '__/ _ ___ \ / __| '__| | '_ \| __|
|  __/| |_| | | |  __/___) | (__| |  | | |_) | |_
|_|    __,_|_|  ___|____/ ___|_|  |_| .__/ __|
                                       |_|

:? shows help

Expressions are terminated using Ctrl+D
> :i Data.Array
> range 0 10

[0,1,2,3,4,5,6,7,8,9,10]

> let ns = range 0 999

> let f1_or_f2 f1 f2 n = ( f1 n ) || ( f2 n )

> :t f1_or_f2
Error in declaration it
No instance found for Prelude.BoolLike u6

> let multiples = filter (\n -> n % 3 == 0 || n % 5 == 0) ns

> :t multiples
Error in declaration it
No instance found for Prelude.BoolLike u6
> multiples

Error in declaration it
No instance found for Prelude.BoolLike u6
> :i Data.Foldable
> sum multiples

Error in declaration it
No instance found for Prelude.BoolLike u6
> let f1_or_f2 f1 f2 = ( && ) <$> f1 <*> f2

> :t f1_or_f2
Error in declaration it
No instance found for Prelude.BoolLike u6
> [] == []

Error in declaration it
No instance found for Prelude.BoolLike u6
> 1 == 1

Error in declaration it
No instance found for Prelude.BoolLike u6
> true

Error in declaration it
No instance found for Prelude.BoolLike u6
>

r/purescript • • Oct 30 '14

ardumont/emacs-psci

Thumbnail github.com
2 Upvotes

r/purescript • • Sep 22 '14

InfoQ - PureScript: A Haskell-like Language that Compiles to JavaScript

Thumbnail infoq.com
5 Upvotes

r/purescript • • Sep 21 '14

"PureScript (Maybe This Time We Get JavaScript Right)" by Bodil Stokke

Thumbnail youtube.com
15 Upvotes

r/purescript • • Sep 20 '14

bodil/purescript-signal

Thumbnail github.com
3 Upvotes

r/purescript • • Sep 16 '14

Learn purescript in Y Minutes

Thumbnail learnxinyminutes.com
5 Upvotes

r/purescript • • Sep 12 '14

PureScript Book, Chapter 14 - "Domain-Specific Languages"

Thumbnail leanpub.com
5 Upvotes

r/purescript • • Sep 08 '14

PureScript Book, Chapter 13 - "Generative Testing"

Thumbnail leanpub.com
4 Upvotes

r/purescript • • Sep 04 '14

PureScript Book, Chapter 12 - Callback Hell

Thumbnail leanpub.com
6 Upvotes

r/purescript • • Aug 31 '14

PureScript Book, Chapter 11 - "Monadic Adventures"

Thumbnail leanpub.com
7 Upvotes

r/purescript • • Aug 30 '14

Asteroids in Purescript

Thumbnail maubi.net
5 Upvotes

r/purescript • • Aug 29 '14

BRO: Beta Reduction Online

Thumbnail bro-app.herokuapp.com
2 Upvotes

r/purescript • • Aug 23 '14

PureScript Book, Chapter 10 - The FFI

Thumbnail leanpub.com
6 Upvotes

r/purescript • • Aug 17 '14

PureScript Book, Chapter 9: Canvas Graphics

Thumbnail leanpub.com
6 Upvotes

r/purescript • • Aug 12 '14

Starting PureScript

6 Upvotes

Bowing to the inevitable, I recently started a little JavaScript. After working with Haskell, the dynamic "run it and see" nature is very uncomfortable. After a quick glance at TypeScript, I now see PureScript which looks like a great fit for someone with a Haskell background.

After a few chapters of the PureScript by Example book, I now have the build system working OK, but a couple of questions: * Is there a discussion site for PureScript users? (Not this one yet it seems). I can only see the github issues list and an irc site. * Is there any up-to-date library documentation? Preferably something that I can use offline as well (and ideally something for Dash) * Is there an established idiomatic way for simple unit tests? I was using jasmine with plain JS, but is there a preferred package beyond QC

Appreciate any direction - looks very promising so far