Comments (7)
Thanks for the feedback.
For some context, we swapped to perl
due to mac issues with sed
. See #194 and #196.
But those changes were made before it was possible to execute arbitrary .purs standalone scripts with spago
, so perhaps we're due for a rewrite where we eat our own dogfood.
An action to push to a follow-along
branch also sounds good. I probably won't get around to implementing that myself anytime soon, but will accept a PR.
from purescript-book.
I think it would go something like this:
- Create a branch, call it
follow-along
or something. - Allow GH actions to push...I haven't done this personally, but I know it's a thing.
- Add an action that's something like this:
name: Update follow-along branch on: push: branches: [master] pull_request: jobs: update: runs-on: ubuntu-latest steps: - Check it out uses: actions/checkout@v2 - name: Update the thing run: | ./scripts/resetSolutions.sh ./scripts/removeAnchors.sh git add --all git commit --message "Some really sweet message here" git push origin HEAD:follow-along
- Update the instructions in the book to instead check out the branch that's totally ready for your readers to play with!
from purescript-book.
If I get motivated this weekend I will try to get all the config steps together, test on a non-fork (I guess? actions are weird), and wrap it up in a PR.
from purescript-book.
I think it would go something like this:
- Create a branch, call it
follow-along
or something.- Allow GH actions to push...I haven't done this personally, but I know it's a thing.
- Add an action that's something like this:
name: Update follow-along branch on: push: branches: [master] pull_request: jobs: update: runs-on: ubuntu-latest steps: - Check it out uses: actions/checkout@v2 - name: Update the thing run: | ./scripts/resetSolutions.sh ./scripts/removeAnchors.sh git add --all git commit --message "Some really sweet message here" git push origin HEAD:follow-along- Update the instructions in the book to instead check out the branch that's totally ready for your readers to play with!
I can confirm that this works fine, and is a decent solution for us Windows users. :-)
There's a small typo where it says - Check it out
- it should of course be - name: Check it out
.
npx markdownlint
kept failing, so in the generated tests.yml I commented out the last 2 lines to disable it for now:
# - name: Run Markdown lint
# run: npx markdownlint **/*.md
Depending on how your setup you might have to set github username and email
- name: setup git config
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
And remember to allow "Read and write permissions" under Settings -> Actions -> General -> Workflow permissions
from purescript-book.
Just FYI. There's not really anyone maintaining this work anymore. So, this won't be fixed unless someone volunteers to do the above suggestion.
from purescript-book.
Just FYI. There's not really anyone maintaining this work anymore. So, this won't be fixed unless someone volunteers to do the above suggestion.
If the PureScript book is not up to date and actively maintained, how are people supposed to learn the language?
from purescript-book.
Just FYI. There's not really anyone maintaining this work anymore. So, this won't be fixed unless someone volunteers to do the above suggestion.
If the PureScript book is not up to date and actively maintained, how are people supposed to learn the language?
To clarify, just because no one is maintaining this resource doesn't mean it's still not useful. I'm not sure where and how much it's outdated. (Miles was the last one to seriously invest effort into updating and maintaining this resource. I just push "obvious" changes that benefit this, but I don't invest time into it otherwise because I'm using my time to benefit the community in other ways.) The concepts it teaches are likely still correct, but the code/syntax it uses may not be what one uses now.
I think you may be better off reading Functional Programming Made Easier (see it's announcement). It's not free, but a few people have praised it for how well it helped them get past the FP learning curve. If that work was written for an older version of PureScript, I would learn PureScript on that older version, and then read through the corresponding migration guide. That should get you up-to-speed.
Another resource is one I've written when I was learning PureScript: PureScript: Jordan's Reference. It's probably the most up-to-date resource we have, but it's learning approach may not be your cup of tea. It also doesn't have any exercises. But in general, if you're looking for documentation on X, you should likely look there first as I probably have something on it.
If you want to better understand monad transformers, I did a talk on that: https://github.com/JordanMartinez/pure-conf-talk/
Lastly, most people who need help usually ask questions and get answers from people on the core team or those who have been involved in the community for a while via the Discord chatroom or Discourse.
So, it's usually a combo of reading one of the above resources, watching a video I link to in my repo, and asking people for help on specific issues you run into.
from purescript-book.
Related Issues (20)
- [Ch3] Indentation docs for `where` are wrong HOT 1
- :memo: Chapter 8 standard form label use HOT 1
- Chapter 11 HOT 1
- chapter 10 duplicated mapSetFoo instead of alternative
- chapter 10 double negation intended or typo? HOT 2
- Chapter 9, final exercise description improvement HOT 1
- Error in Handbook - Asynchronous Effects
- Update Book to PureScript `0.15.0` HOT 2
- Chapter 10: Confusion between `id` and `identity` functions HOT 4
- Getting Started scripts - not all lines are removed
- error ERR_REQUIRE_ESM following instructions in Getting Started HOT 1
- Example from book fails on freebsd HOT 3
- [CH4] A more concise implementation of fibTailRec. HOT 1
- Warning about not using latest spago.
- Swap of Ch4 and Ch5 incomplete HOT 1
- Ch6: Subclass/Superclass confusion for `Ord`/`Eq`
- Not clear that Exercise should include subdirectories
- Can you clarify this no peeking stuff? HOT 3
- Chapter 2, Pythagorean theorem
- Upgrade to the latest package set
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from purescript-book.