You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: community/index.html
+1-10
Original file line number
Diff line number
Diff line change
@@ -41,17 +41,8 @@ <h2>Online</h2>
41
41
<li><ahref="https://groups.google.com/group/purescript">Mailing List</a>: A Google Groups mailing list for discussing anything and everything related to PureScript.</li>
42
42
<li><ahref="http://www.reddit.com/r/purescript">Reddit (/r/purescript)</a>: A subreddit for community-submitted articles and links.</li>
43
43
<li><ahref="https://twitter.com/purescript">Twitter (@purescript)</a>: Follow along for news from the PureScript community.</li>
44
-
<li><ahref="https://github.com/purescript/purescript/wiki">GitHub Wiki</a>: The wiki contains community-written articles about the language and its tools.</li>
45
44
<li><ahref="http://stackoverflow.com/questions/tagged/purescript">StackOverflow</a>: Browse questions tagged with PureScript or ask one of your own.</li>
46
-
<li><ahref="http://www.meetup.com/Bay-Area-PureScript-Meetup/">Remote PureScript Meetups</a> (Talks and Hacks): Organised out of the Bay Area PureScript Meetup account, these are starting tentatively on the second Saturday of the month.</li>
47
-
</ul>
48
-
</section>
49
-
50
-
<section>
51
-
<h2>In Real Life</h2>
52
-
<ul>
53
-
<li><ahref="http://www.meetup.com/Bay-Area-PureScript-Meetup/">Bay Area (California) PureScript Meetup</a></li>
54
-
<li><ahref="http://www.meetup.com/lambdaconf/events/227877444/">PureScript Conf 2016</a>: A side-event co-located with <ahref="http://lambdaconf.us/">LambdaConf 2016</a> this year in Boulder, Colorado.</li>
Copy file name to clipboardExpand all lines: download/index.html
+3-3
Original file line number
Diff line number
Diff line change
@@ -84,9 +84,9 @@ <h2>Stack</h2>
84
84
85
85
<p>If you don't have Stack installed, there are install instructions <ahref="https://github.com/commercialhaskell/stack/blob/master/doc/install_and_upgrade.md">here</a>.</p>
86
86
87
-
<p>You can also install a specific version by specifying it in the <code>stack unpack</code> step. For example, to install 0.8.5, use:</p>
87
+
<p>You can also install a specific version by specifying it in the <code>stack unpack</code> step. For example, to install 0.10.3, use:</p>
88
88
<pre>
89
-
stack unpack purescript-0.8.5</pre>
89
+
stack unpack purescript-0.10.3</pre>
90
90
</section>
91
91
92
92
<section>
@@ -101,7 +101,7 @@ <h2>Tools</h2>
101
101
102
102
<p>Alternatives such as <code>gulp-purescript</code> exist for more advanced configurations.</p>
103
103
104
-
<p>The <ahref="https://github.com/purescript/purescript/wiki/Editor-and-tool-support">PureScript wiki</a> has a list of available editor plugins.</p>
104
+
<p>The PureScript <ahref="https://github.com/purescript/documentation/blob/master/ecosystem/Editor-and-tool-support.md">documentation repository</a> has a list of available editor plugins.</p>
Copy file name to clipboardExpand all lines: generator/community/index.html
+1-10
Original file line number
Diff line number
Diff line change
@@ -5,16 +5,7 @@ <h2>Online</h2>
5
5
<li><ahref="https://groups.google.com/group/purescript">Mailing List</a>: A Google Groups mailing list for discussing anything and everything related to PureScript.</li>
6
6
<li><ahref="http://www.reddit.com/r/purescript">Reddit (/r/purescript)</a>: A subreddit for community-submitted articles and links.</li>
7
7
<li><ahref="https://twitter.com/purescript">Twitter (@purescript)</a>: Follow along for news from the PureScript community.</li>
8
-
<li><ahref="https://github.com/purescript/purescript/wiki">GitHub Wiki</a>: The wiki contains community-written articles about the language and its tools.</li>
9
8
<li><ahref="http://stackoverflow.com/questions/tagged/purescript">StackOverflow</a>: Browse questions tagged with PureScript or ask one of your own.</li>
10
-
<li><ahref="http://www.meetup.com/Bay-Area-PureScript-Meetup/">Remote PureScript Meetups</a> (Talks and Hacks): Organised out of the Bay Area PureScript Meetup account, these are starting tentatively on the second Saturday of the month.</li>
11
-
</ul>
12
-
</section>
13
-
14
-
<section>
15
-
<h2>In Real Life</h2>
16
-
<ul>
17
-
<li><ahref="http://www.meetup.com/Bay-Area-PureScript-Meetup/">Bay Area (California) PureScript Meetup</a></li>
18
-
<li><ahref="http://www.meetup.com/lambdaconf/events/227877444/">PureScript Conf 2016</a>: A side-event co-located with <ahref="http://lambdaconf.us/">LambdaConf 2016</a> this year in Boulder, Colorado.</li>
Copy file name to clipboardExpand all lines: generator/download/index.html
+3-3
Original file line number
Diff line number
Diff line change
@@ -48,9 +48,9 @@ <h2>Stack</h2>
48
48
49
49
<p>If you don't have Stack installed, there are install instructions <ahref="https://github.com/commercialhaskell/stack/blob/master/doc/install_and_upgrade.md">here</a>.</p>
50
50
51
-
<p>You can also install a specific version by specifying it in the <code>stack unpack</code> step. For example, to install 0.8.5, use:</p>
51
+
<p>You can also install a specific version by specifying it in the <code>stack unpack</code> step. For example, to install 0.10.3, use:</p>
52
52
<pre>
53
-
stack unpack purescript-0.8.5</pre>
53
+
stack unpack purescript-0.10.3</pre>
54
54
</section>
55
55
56
56
<section>
@@ -65,6 +65,6 @@ <h2>Tools</h2>
65
65
66
66
<p>Alternatives such as <code>gulp-purescript</code> exist for more advanced configurations.</p>
67
67
68
-
<p>The <ahref="https://github.com/purescript/purescript/wiki/Editor-and-tool-support">PureScript wiki</a> has a list of available editor plugins.</p>
68
+
<p>The PureScript <ahref="https://github.com/purescript/documentation/blob/master/ecosystem/Editor-and-tool-support.md">documentation repository</a> has a list of available editor plugins.</p>
Copy file name to clipboardExpand all lines: generator/index.html
+18-14
Original file line number
Diff line number
Diff line change
@@ -10,48 +10,52 @@ <h3>Examples</h3>
10
10
<divclass="current example">
11
11
<h4>Modifying the DOM</h4>
12
12
<p>PureScript’s expressive type system and lightweight syntax make it simple to define <ahref="https://leanpub.com/purescript/read#leanpub-auto-domain-specific-languages">domain-specific languages</a>, which can be used to solve problems like templating the DOM. Bindings also exist for libraries such as React and Virtual DOM.</p>
13
+
<p>
14
+
You can <ahref="http://try.purescript.org/?gist=297b324cca7fdd6a802a7365c2c5ea62&backend=flare">try this example</a> online.
<spanclass="nf">greet</span> name = h1 <spanclass="kt">$</span> text <spanclass="kt">$</span><spanclass="s">"Hello, "</span><spanclass="kt"><></span> name <spanclass="kt"><></span><spanclass="s">"!"</span></pre>
21
23
</div>
22
24
<divclass="example">
23
25
<h4>HTML5 Canvas</h4>
24
-
<p>Higher-order functions allow the developer to write fluent, expressive code. Here, higher-order functions are being used to capture some common patterns when <ahref="https://leanpub.com/purescript/read#leanpub-auto-canvas-graphics">working with HTML5 canvas</a>, such as closing and filling paths.</p>
26
+
<p>Higher-order functions allow the developer to write fluent, expressive code. Here, the higher-order function <code>thrice</code> is being used to simplify some code while <ahref="https://leanpub.com/purescript/read#leanpub-auto-canvas-graphics">working with the canvas</a>.</p>
27
+
<p>
28
+
You can <ahref="http://try.purescript.org/?gist=1c497b0533c1e1e4c21ebdbbd4195a79&backend=flare">try this example</a> online.
$ circle <spanclass="mi">0.0</span><spanclass="mi">0.0</span><spanclass="mi">1.0</span></pre>
37
39
</div>
38
40
<divclass="example">
39
41
<h4>Callback Hell</h4>
40
42
<p>The problem of <ahref="https://leanpub.com/purescript/read#leanpub-auto-callback-hell">callback hell</a> can be solved by using PureScript’s type system to capture complex control flow as functions in a safe way. Here, the continuation monad is used to hide the boilerplate code associated with handling callbacks.</p>
products <-parTraverse(\product-> get product.uri) popular
50
51
pure (<spanclass="kt">Model</span> products)</pre>
51
52
</div>
52
53
<divclass="example">
53
54
<h4>Generative Testing</h4>
54
55
<p>PureScript provides a form of ad-hoc polymorphism in the form of type classes, inspired by Haskell. Type classes are used in the QuickCheck and StrongCheck libraries to support <ahref="https://leanpub.com/purescript/read#leanpub-auto-generative-testing">generative testing</a>, which separates test definitions from the generation of test cases.</p>
56
+
<p>
57
+
You can <ahref="http://try.purescript.org/?gist=b291f5ce33b92885b8be069e6a6bddb8&backend=core">try this example</a> online.
@@ -104,20 +104,6 @@ <h3>The Partial type class</h3>
104
104
</ul>
105
105
</section>
106
106
107
-
<section>
108
-
<h2id="articles">Articles by Users</h2>
109
-
110
-
<ul>
111
-
<li><ahref="http://blog.functorial.com/posts/2015-11-20-Thermite.html">Building a Task List Application with Thermite</a><small>(at <ahref="http://blog.functorial.com">blog.functorial.com</a>)</small></li>
112
-
<li><ahref="http://www.parsonsmatt.org/programming/2015/10/22/purescript_router.html">Using purescript-routing with purescript-halogen</a><small>(at <ahref="http://parsonsmatt.org">parsonsmatt.org</a>)</small></li>
113
-
<li><ahref="http://www.parsonsmatt.org/programming/2015/10/05/elm_vs_purescript_ii.html">The Elm Architecture in PureScript</a><small>(at <ahref="http://parsonsmatt.org">parsonsmatt.org</a>)</small></li>
114
-
</ul>
115
-
116
-
<div>Please contribute your own content by <ahref="https://github.com/purescript/purescript.github.io">sending a pull request</a>.</div>
Copy file name to clipboardExpand all lines: index.html
+19-15
Original file line number
Diff line number
Diff line change
@@ -46,48 +46,52 @@ <h3>Examples</h3>
46
46
<divclass="current example">
47
47
<h4>Modifying the DOM</h4>
48
48
<p>PureScript’s expressive type system and lightweight syntax make it simple to define <ahref="https://leanpub.com/purescript/read#leanpub-auto-domain-specific-languages">domain-specific languages</a>, which can be used to solve problems like templating the DOM. Bindings also exist for libraries such as React and Virtual DOM.</p>
49
+
<p>
50
+
You can <ahref="http://try.purescript.org/?gist=297b324cca7fdd6a802a7365c2c5ea62&backend=flare">try this example</a> online.
<spanclass="nf">greet</span> name = h1 <spanclass="kt">$</span> text <spanclass="kt">$</span><spanclass="s">"Hello, "</span><spanclass="kt"><></span> name <spanclass="kt"><></span><spanclass="s">"!"</span></pre>
57
59
</div>
58
60
<divclass="example">
59
61
<h4>HTML5 Canvas</h4>
60
-
<p>Higher-order functions allow the developer to write fluent, expressive code. Here, higher-order functions are being used to capture some common patterns when <ahref="https://leanpub.com/purescript/read#leanpub-auto-canvas-graphics">working with HTML5 canvas</a>, such as closing and filling paths.</p>
62
+
<p>Higher-order functions allow the developer to write fluent, expressive code. Here, the higher-order function <code>thrice</code> is being used to simplify some code while <ahref="https://leanpub.com/purescript/read#leanpub-auto-canvas-graphics">working with the canvas</a>.</p>
63
+
<p>
64
+
You can <ahref="http://try.purescript.org/?gist=1c497b0533c1e1e4c21ebdbbd4195a79&backend=flare">try this example</a> online.
$ circle <spanclass="mi">0.0</span><spanclass="mi">0.0</span><spanclass="mi">1.0</span></pre>
73
75
</div>
74
76
<divclass="example">
75
77
<h4>Callback Hell</h4>
76
78
<p>The problem of <ahref="https://leanpub.com/purescript/read#leanpub-auto-callback-hell">callback hell</a> can be solved by using PureScript’s type system to capture complex control flow as functions in a safe way. Here, the continuation monad is used to hide the boilerplate code associated with handling callbacks.</p>
products <-parTraverse(\product-> get product.uri) popular
86
87
pure (<spanclass="kt">Model</span> products)</pre>
87
88
</div>
88
89
<divclass="example">
89
90
<h4>Generative Testing</h4>
90
91
<p>PureScript provides a form of ad-hoc polymorphism in the form of type classes, inspired by Haskell. Type classes are used in the QuickCheck and StrongCheck libraries to support <ahref="https://leanpub.com/purescript/read#leanpub-auto-generative-testing">generative testing</a>, which separates test definitions from the generation of test cases.</p>
92
+
<p>
93
+
You can <ahref="http://try.purescript.org/?gist=b291f5ce33b92885b8be069e6a6bddb8&backend=core">try this example</a> online.
@@ -140,20 +140,6 @@ <h3>The Partial type class</h3>
140
140
</ul>
141
141
</section>
142
142
143
-
<section>
144
-
<h2id="articles">Articles by Users</h2>
145
-
146
-
<ul>
147
-
<li><ahref="http://blog.functorial.com/posts/2015-11-20-Thermite.html">Building a Task List Application with Thermite</a><small>(at <ahref="http://blog.functorial.com">blog.functorial.com</a>)</small></li>
148
-
<li><ahref="http://www.parsonsmatt.org/programming/2015/10/22/purescript_router.html">Using purescript-routing with purescript-halogen</a><small>(at <ahref="http://parsonsmatt.org">parsonsmatt.org</a>)</small></li>
149
-
<li><ahref="http://www.parsonsmatt.org/programming/2015/10/05/elm_vs_purescript_ii.html">The Elm Architecture in PureScript</a><small>(at <ahref="http://parsonsmatt.org">parsonsmatt.org</a>)</small></li>
150
-
</ul>
151
-
152
-
<div>Please contribute your own content by <ahref="https://github.com/purescript/purescript.github.io">sending a pull request</a>.</div>
0 commit comments