Skip to content

Commit b47c38c

Browse files
committed
Remove references to pulp dep
Replace references to 'pulp dep' with 'bower', since we're planning on deprecating 'pulp dep'.
1 parent d3ee7f0 commit b47c38c

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

learn/eff/index.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ printRandom = do
3939
This example requires the `purescript-console` and `purescript-random` dependencies to be installed:
4040

4141
pulp init
42-
pulp dep i purescript-console purescript-random
42+
bower install --save purescript-console purescript-random
4343

4444
If you save this file as `RandomExample.purs`, you will be able to compile and run it using PSCi:
4545

@@ -342,4 +342,4 @@ var collatz = function (n) {
342342

343343
#### Conclusion
344344

345-
The `Eff` monad provides a way to use native effects in PureScript, in such a way that different types of effects can be interleaved, and such that the generated Javascript is relatively simple.
345+
The `Eff` monad provides a way to use native effects in PureScript, in such a way that different types of effects can be interleaved, and such that the generated Javascript is relatively simple.

learn/getting-started/index.markdown

+3-7
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ The Purescript compiler (psc) can be installed with npm:
1818

1919
PureScript's core libraries are configured to use the [Pulp](https://github.com/bodil/pulp) build tool, and packages are available in the [Bower registry](http://bower.io/search/?q=purescript-).
2020

21-
If you don't have Pulp installed, install it now:
21+
If you don't have Pulp and Bower installed, install them now:
2222

23-
npm install -g pulp
23+
npm install -g pulp bower
2424

2525
Create a new project in an empty directory using `pulp init`:
2626

@@ -49,14 +49,10 @@ If everything was built successfully, and the tests ran without problems, then t
4949

5050
#### Installing Dependencies
5151

52-
Dependencies can be installed using Bower, if you have it installed globally:
52+
Dependencies can be installed using Bower:
5353

5454
bower install purescript-lists --save
5555

56-
If you want to use Pulp, you can run `pulp dep`:
57-
58-
pulp dep install purescript-lists --save
59-
6056
#### Working in PSCI
6157

6258
PSCi is the interactive mode of PureScript. It is useful for working with pure computations, and for testing ideas.

learn/quickcheck/index.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Create a new project using Pulp, install `purescript-quickcheck`, and open PSCi:
1515

1616
```text
1717
pulp init
18-
pulp dep i purescript-quickcheck
18+
bower install purescript-quickcheck
1919
pulp psci
2020
```
2121

@@ -211,4 +211,4 @@ Have a look through the `UnderscoreFFI` module, and see what other properties yo
211211

212212
#### Conclusion
213213

214-
Hopefully I've shown that QuickCheck can be a useful tool, whether you write your code in PureScript or not. Its strength is in its _type-directed_ approach to data generation, which allows you to say _what_ you want to test directly, rather than _how_ to generate test data.
214+
Hopefully I've shown that QuickCheck can be a useful tool, whether you write your code in PureScript or not. Its strength is in its _type-directed_ approach to data generation, which allows you to say _what_ you want to test directly, rather than _how_ to generate test data.

0 commit comments

Comments
 (0)