profile
viewpoint

luigi/activerecord-activesalesforce-adapter 80

An ActiveRecord adapter for the Salesforce.com API

elm-community/elm-time 72

A pure Elm date and time library.

oldfartdeveloper/elm-conf-2016-notes 9

My notes at the Elm conference in St Louis, 2016

oldfartdeveloper/elm-window-example 5

Example use of the Elm 'Window' package

ocruby/radiant 3

Radiant is a no-fluff, open source content management system designed for small teams.

oldfartdeveloper/activerecord-activesalesforce-adapter 2

An ActiveRecord adapter for the Salesforce.com API

oldfartdeveloper/community-dictionary 2

A collaborative application that manages word, acronym, and phrase definitions (jargon) for a community.

oldfartdeveloper/approval_tests 1

Approval testing for specs and unit tests

oldfartdeveloper/databasedotcom 1

Ruby client for the Database.com and Chatter APIs

oldfartdeveloper/elm-joystick 1

SVG-based joystick in Elm

push eventoldfartdeveloper/purescript-book

oldfartdeveloper

commit sha 03e6e43d64c9189993e932e04438969bdf08ac77

Removed ' e' typo

view details

milesfrain

commit sha 67830eb1aa91a93ce123513af796e2c914a7c99f

Revert "Removed ' e' typo" This reverts commit 03e6e43d64c9189993e932e04438969bdf08ac77.

view details

milesfrain

commit sha ee57b93b0cf8fc71a4ee9c2a1a5b970607d7e274

Ch10 Rewrite (#140) * Ch10 Rewrite * Remove content on constraint syntax in foreign imports * Revise section on Promises * Table to show common types, and misc fixes * Note derived content from Docs Repo

view details

milesfrain

commit sha 04ef68b846b47a2354984e43c1414564bbc61f8c

Ch2 Consolidate getting started guides (#144) * Ch2 Consolidate getting started guides * peaking -> peeking

view details

Peter Murphy

commit sha e0e47a5d4415f2342fff093b2e68434cf370f290

Refactor `phoneNumberRegex` to use verbal expressions (#165) * Refactor `phoneNumberRegex` to use verbal expressions * Add `startOfLine`/`endOfLine`

view details

milesfrain

commit sha e9c354380c5d475a2b7fd66512b4a3d652902973

Rewrite Ch12 as "Asynchronous Effects" (#163) * Rewrite Ch12 as "Asynchronous Effects" * review feedback * review feedback touchup

view details

milesfrain

commit sha ec215c876b2815f494ca91c41518324d44458a8c

Migrate solutions to master (#168) * ch3 solutions in master * ch4 solutions and test text Examples * ch6 solutions * ch7 solutions * text fixups

view details

milesfrain

commit sha 3cda3301c16a237cbb64a1f958eafb755bef6eb9

Test exercises in CI (#169)

view details

Cyril Cressent

commit sha 2553b3ec80a5b6be1f4518091333e47c942c1a7f

Remove duplicate cirleArea suite (#171)

view details

milesfrain

commit sha 9931d31f932c986118b5b13e23232a03337474d0

Fold travis scripts (#170)

view details

milesfrain

commit sha 422dcaba67c03d29a913a5484580a08d0f4313bb

Manage packages.dhall updates with script (#172) * Manage packages.dhall updates with script * component to reactComponent and other minor fixups

view details

milesfrain

commit sha 4d4a21d0fa7b4d5fc0c90c72c2438574faf633b3

Describe latest testing workflow (#174)

view details

milesfrain

commit sha e24f5cf7abb69dfadce8997f5e149a820e9547ff

Revert "Refactor `phoneNumberRegex` to use verbal expressions (#165)" (#176) This reverts commit e0e47a5d4415f2342fff093b2e68434cf370f290.

view details

JordanMartinez

commit sha d4f3a4dd10a813e39ecb0f4cdaa1d7db655c11fc

Add link to PS cookbook (#177)

view details

Mason Mackaman

commit sha a353b191556ec18a4f7d528455109d62ce9e33fd

Fix typo (#179)

view details

myrddin89

commit sha b91357c4408abc6feb5552d788abe53bff15ef9b

Corrected signature removeDuplicates fixed exercise solution (#180) * Corrected signature removeDuplicates fixed exercise solution * Fix compilation Also holding off on point-free style for now to spare confusion for beginners. Co-authored-by: milesfrain <milesfrain@users.noreply.github.com>

view details

milesfrain

commit sha ebdc09a68de87dbbefabbe132a1b1394833d748d

Ch3 removeDuplicates clarification (#182)

view details

David Vail

commit sha 5c03247d2ca530369936cc5543b402aac560be6d

Add additional John with a different address to bookWithDuplicates (#181)

view details

David Vail

commit sha dc3121a47ef076a832b5af6149865595070985ef

Update wording for `triples` exercise in chapter4 (#183)

view details

David Vail

commit sha 9a629339821f40567728596dee52f5a6020ea579

Chapter5 tests and solutions (#187) * Add tests and solutions for chapter 5 exercises. * Add type signatures for sameCity and livesInLA in regards to row polymorphism.

view details

push time in 2 months

delete branch oldfartdeveloper/purescript-book

delete branch : solutions

delete time in 2 months

delete branch oldfartdeveloper/purescript-book

delete branch : ch8-fix-solutions

delete time in 2 months

delete branch oldfartdeveloper/purescript-book

delete branch : ch8-solutions

delete time in 2 months

pull request commentpurescript-contrib/purescript-book

Implement unit tests for Chapter 8

@milesfrain Sorry I didn't "catch on" on how you did your changes. Yes, everything looks good; I have no changes I want to make and hence I approve. Thanks!

oldfartdeveloper

comment created time in 2 months

push eventoldfartdeveloper/purescript-book

oldfartdeveloper

commit sha f3b9a9d3fa1699cebdcecc24b2682509a5bc3c4d

Replaced this file with Solutions.purs

view details

push time in 2 months

pull request commentpurescript-contrib/purescript-book

Implement unit tests for Chapter 8

@milesfrain I've updated and pushed my final changes w/ your changes; should be ready to merge. Thanks for your help on this.

oldfartdeveloper

comment created time in 2 months

push eventoldfartdeveloper/purescript-book

oldfartdeveloper

commit sha a31c775f0e10b92368c348dca398b34581904b2d

Reverted

view details

push time in 2 months

push eventoldfartdeveloper/purescript-book

oldfartdeveloper

commit sha 2897373cd8dc528a7b9d6e880872aa9ff4d68122

Fixed typos

view details

push time in 2 months

push eventoldfartdeveloper/purescript-book

oldfartdeveloper

commit sha f330d954e72f07e565fbc8162a4644a520e48f50

Remerged differing chapter 3 files

view details

oldfartdeveloper

commit sha 24658cc046beb4fdb3c8dcc4119eacbdde3b5138

Merge upstream/master

view details

oldfartdeveloper

commit sha 0aec90668d30c3e8248a5cc6da1d9907b87e4cd2

Updated to have unit tests

view details

oldfartdeveloper

commit sha 0aad58e3a3ee413dbf6f42d19e62734f31ef9234

Merge recent @milesfrain changes in remote-tracking branch 'upstream/master'

view details

oldfartdeveloper

commit sha 7257017e64bd635933e5ef99756fe8310dcf8a69

Merged @milesfrain changes

view details

push time in 2 months

push eventoldfartdeveloper/oldfartdeveloper

Scott Smith

commit sha d28e0d23265d8d71e6e069df51138faccece70b2

Capturing programming analytics

view details

push time in 2 months

push eventoldfartdeveloper/oldfartdeveloper

Scott Smith

commit sha 3c6e79952f2303d61cef3252cc748a86badd26a1

One more try

view details

push time in 2 months

push eventoldfartdeveloper/oldfartdeveloper

Scott Smith

commit sha 30d0d48d13e56e2b938e4a13162bc908f0678c17

Successful link to profile generator

view details

push time in 2 months

push eventoldfartdeveloper/oldfartdeveloper

Scott Smith

commit sha 3e5ce569e8dce5e5cc714b496c1257ffbcacee3b

Try again(!) to upload additional info

view details

push time in 2 months

push eventoldfartdeveloper/oldfartdeveloper

Scott Smith

commit sha aacc599bbee65341300a95c9ad43a7205a430284

Updated w/ additional data

view details

push time in 2 months

push eventoldfartdeveloper/oldfartdeveloper

Scott Smith

commit sha e520cf1fb5166f965aad6193beca2bdcaf4bd19d

Add github profile graphic

view details

push time in 2 months

push eventoldfartdeveloper/oldfartdeveloper

Scott Smith

commit sha 19a7787b92bfde3686765b0436c787abc953b37c

Add files via upload Adding profile summary

view details

push time in 2 months

push eventoldfartdeveloper/oldfartdeveloper

Scott Smith

commit sha e42064190748a5e85d1608f6111ec812347828b7

Continuing to work w/ profile summary

view details

push time in 2 months

push eventoldfartdeveloper/oldfartdeveloper

Scott Smith

commit sha 7d54bbcf506c28c8685928c4a00084e385eb54c6

Capturing programming analytics

view details

push time in 2 months

create barncholdfartdeveloper/oldfartdeveloper

branch : master

created branch time in 2 months

created repositoryoldfartdeveloper/oldfartdeveloper

created time in 2 months

pull request commentpurescript-contrib/purescript-book

Implement unit tests for Chapter 8

@milesfrain This is ready for your review.

oldfartdeveloper

comment created time in 2 months

push eventoldfartdeveloper/purescript-book

oldfartdeveloper

commit sha 24658cc046beb4fdb3c8dcc4119eacbdde3b5138

Merge upstream/master

view details

push time in 2 months

push eventoldfartdeveloper/purescript-book

oldfartdeveloper

commit sha f330d954e72f07e565fbc8162a4644a520e48f50

Remerged differing chapter 3 files

view details

push time in 2 months

push eventoldfartdeveloper/purescript-book

oldfartdeveloper

commit sha 5a75f107c48416185cc651ab4c544d977a427ff7

Merge from branch ch8-fix-solutions

view details

oldfartdeveloper

commit sha 7bc122a65c71681874120bc502c58315e66ce94c

Fix import typo

view details

oldfartdeveloper

commit sha d91c2b9a69bdf2bed23ea2676d60e7b39cafc912

Fix filepath typo

view details

oldfartdeveloper

commit sha 807416e8fc67056f82de24ddbb1f17c4ae636618

Making sure testing official solution works

view details

push time in 2 months

push eventoldfartdeveloper/purescript-book

oldfartdeveloper

commit sha ee88333004eb170b94f66930ca7b5f3608ca9355

Exercise Group 3, Exercise 1, Add a work phone is completed

view details

oldfartdeveloper

commit sha 0c8d714b02b62b351a024ac687eebb1b2542e6b2

Exercises Group 3, exercise 2 and 3 added

view details

oldfartdeveloper

commit sha e4e2976ca725ee975e4f37273b0d9152a3b4a92b

Chapter Examples tests are now completed

view details

push time in 2 months

create barncholdfartdeveloper/purescript-book

branch : ch8-fix-solutions

created branch time in 2 months

push eventoldfartdeveloper/purescript-book

Peter Murphy

commit sha e0e47a5d4415f2342fff093b2e68434cf370f290

Refactor `phoneNumberRegex` to use verbal expressions (#165) * Refactor `phoneNumberRegex` to use verbal expressions * Add `startOfLine`/`endOfLine`

view details

milesfrain

commit sha e9c354380c5d475a2b7fd66512b4a3d652902973

Rewrite Ch12 as "Asynchronous Effects" (#163) * Rewrite Ch12 as "Asynchronous Effects" * review feedback * review feedback touchup

view details

milesfrain

commit sha ec215c876b2815f494ca91c41518324d44458a8c

Migrate solutions to master (#168) * ch3 solutions in master * ch4 solutions and test text Examples * ch6 solutions * ch7 solutions * text fixups

view details

milesfrain

commit sha 3cda3301c16a237cbb64a1f958eafb755bef6eb9

Test exercises in CI (#169)

view details

Cyril Cressent

commit sha 2553b3ec80a5b6be1f4518091333e47c942c1a7f

Remove duplicate cirleArea suite (#171)

view details

milesfrain

commit sha 9931d31f932c986118b5b13e23232a03337474d0

Fold travis scripts (#170)

view details

milesfrain

commit sha 422dcaba67c03d29a913a5484580a08d0f4313bb

Manage packages.dhall updates with script (#172) * Manage packages.dhall updates with script * component to reactComponent and other minor fixups

view details

milesfrain

commit sha 4d4a21d0fa7b4d5fc0c90c72c2438574faf633b3

Describe latest testing workflow (#174)

view details

milesfrain

commit sha e24f5cf7abb69dfadce8997f5e149a820e9547ff

Revert "Refactor `phoneNumberRegex` to use verbal expressions (#165)" (#176) This reverts commit e0e47a5d4415f2342fff093b2e68434cf370f290.

view details

JordanMartinez

commit sha d4f3a4dd10a813e39ecb0f4cdaa1d7db655c11fc

Add link to PS cookbook (#177)

view details

Mason Mackaman

commit sha a353b191556ec18a4f7d528455109d62ce9e33fd

Fix typo (#179)

view details

myrddin89

commit sha b91357c4408abc6feb5552d788abe53bff15ef9b

Corrected signature removeDuplicates fixed exercise solution (#180) * Corrected signature removeDuplicates fixed exercise solution * Fix compilation Also holding off on point-free style for now to spare confusion for beginners. Co-authored-by: milesfrain <milesfrain@users.noreply.github.com>

view details

milesfrain

commit sha ebdc09a68de87dbbefabbe132a1b1394833d748d

Ch3 removeDuplicates clarification (#182)

view details

David Vail

commit sha 5c03247d2ca530369936cc5543b402aac560be6d

Add additional John with a different address to bookWithDuplicates (#181)

view details

David Vail

commit sha dc3121a47ef076a832b5af6149865595070985ef

Update wording for `triples` exercise in chapter4 (#183)

view details

David Vail

commit sha 9a629339821f40567728596dee52f5a6020ea579

Chapter5 tests and solutions (#187) * Add tests and solutions for chapter 5 exercises. * Add type signatures for sameCity and livesInLA in regards to row polymorphism.

view details

milesfrain

commit sha 5226d28c4ba8437d79188ffd5fb15b22b91ef200

Chapter 5 exercise touchups (#189) * Chapter 5 exercise touchups * Deduplicate note

view details

Andrei D. Robu

commit sha 2bf1428eec17ec337021c515c4597bd2338ebcce

Clarify "list element" (#190) When reading the book, I found the phrasing in the text "takes a list element" a bit confusing. It made me think that the argument is a list which is an element, not that it is the element of a list. I am proposing a minor tweak to this paragraph.

view details

Mason Mackaman

commit sha ad55d7ec0f300b20e12261b7df83f4e511771456

Change `Applicative` to `Apply` (#185) * Change `Applicative` to `Apply` * Change `Applicative` to `Apply`

view details

oldfartdeveloper

commit sha 40d8aca58b362a060a6c03ae43e96845118c3ba6

Merged updates from update/master

view details

push time in 2 months

pull request commentpurescript-contrib/purescript-book

Implement unit tests for Chapter 8

Ah, good call on resetSolutions.sh. I'll give it a "final go-around", maybe move some info to Ch 2, and mark it ready for review. Hopefully will have at some point tomorrow. Thanks!

oldfartdeveloper

comment created time in 3 months

pull request commentpurescript-contrib/purescript-book

Implement unit tests for Chapter 8

@milesfrain I'd like your thoughts on what I've done thus far:

  • I'm not entirely satisfied with my explanation of the test-driven process here but am at a loss for how to fix it.
  • I've skipped implementing some tests; some are just todos that I want to postpone until after I've studied more of the book (starting w/ chapter 9). The tests themselves describe their status.
oldfartdeveloper

comment created time in 3 months

push eventoldfartdeveloper/purescript-book

oldfartdeveloper

commit sha c06c9dbc23b47746abb9faadc677f9431d1ae119

Shortened exercises explanation

view details

push time in 3 months

push eventoldfartdeveloper/purescript-book

oldfartdeveloper

commit sha 3f4838a3aacc60cf31bdb1d81423b59a7745ae4d

Removed obsolete 'runChapterExamples'

view details

push time in 3 months

push eventoldfartdeveloper/purescript-book

oldfartdeveloper

commit sha 05854a927b9fddb680a4f733b5d6a6a3211f1e81

Slight reformat

view details

push time in 3 months

push eventoldfartdeveloper/purescript-book

oldfartdeveloper

commit sha 1d7f8f1a265c4d2b8df6d81154b97c6d244bc0b1

simplified example testing

view details

oldfartdeveloper

commit sha 0e0b5cd81f8142700467fe3489e1dee2eef230a8

Fixed nested comment error

view details

push time in 3 months

push eventoldfartdeveloper/purescript-book

oldfartdeveloper

commit sha 41318e96bf31cc1eaf0ec9507f41f53deee46c83

Moved chapter examples tests

view details

push time in 3 months

push eventoldfartdeveloper/purescript-book

oldfartdeveloper

commit sha efac1ac8bb6862970a0d283e601e06cf8b094f59

Shortened exercises explanation

view details

push time in 3 months

issue commentpurescript/documentation

Getting Started Guide: use simpler example than Euler.

@hdgarrood I beg to differ; here are the source codes for both:

diagonal:

import Math (sqrt)

diagonal w h = sqrt (w * w + h * h)

Euler:

module Euler where

import Prelude
import Data.List (range, filter)
import Data.Foldable (sum)

ns = range 0 999

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

answer = sum multiples

Euler introduces new functional programming concepts such the newbie is unlikely to have heard of:

  • Foldable
  • Prelude
  • The lambda filter (\n -> mod n 3 == 0 || mod n 5 == 0)
  • Where does sum come from?

Plus Euler requires 3 lines of code instead of one.

Whereas diagonal will look straightforward to anyone who has had to deal with the Pythagorean theorem. Which is basically anyone who has graduated from high school.

Again, I think Euler is a fine exercise; just shouldn't be the first example in the Getting Started guide.

oldfartdeveloper

comment created time in 3 months

Pull request review commentpurescript/documentation

Proposed corrections and changes to getting started guide

 Spago can be used to turn our PureScript code into JavaScript suitable for use i     Build succeeded.     Bundle succeeded and output file to index.js -All the code in the `src` directory and any project dependencies have been compiled to JavaScript. The resulting code is bundled as `index.js` and has also had any unused code removed, a process known as dead code elimination. This `index.js` file can now be included in an HTML document. If you try this, you should see the words "Hello, World!" printed to your browser's console.+All the code in the `src` directory and any project dependencies have been compiled to JavaScript. The resulting code is bundled as `index.js` and has also had any unused code removed, a process known as dead code elimination. This `index.js` file can now be included in an HTML document.  Try this by creating the following `index.html` file in your `my-project` directory:++```html+<!DOCTYPE html>+<html>++<head>+  <meta charset="UTF-8">+  <title>Euler Exercise</title>+</head>++<body>+  <div id="container"></div>+  <script src="./index.js"></script>+</body>++</html>+```++See this HTML file work as follows:++1.  Run `npx parcel index.html --open` in a terminal opened to your `my-project`.

@hdgarrood my bad; it worked after I asked my FireFox browser to "show content messages."

oldfartdeveloper

comment created time in 3 months

push eventoldfartdeveloper/documentation

oldfartdeveloper

commit sha 91365a410f19ec61b09c711dd71984cb482342ed

Minor tweaks

view details

push time in 3 months

issue commentpurescript/documentation

Getting Started Guide: add rendering to HTML example

The overarching issue I have with the Getting Started Guide is, as a new user who doesn't know ANYTHING about PureScript at this point, the complexities of DOM API, etc. are daunting, and, as you suggest, inappropriate for a newbie anyways.

I think that the Euler example introducing these complexities is drifting away from the purpose of this guide: it shouldn't be showing off PureScript; rather it should be assisting the reader in verifying:

  • That his installation basically works.
  • That PureScript can do what a newbie would expect it to do: render some result of a PureScript function to an HTML page element.

The typical newbie isn't ready to process the JavaScript explanations for Euler yet at this point in this guide.

Issue #326 discusses this and suggests the diagonal exercise.

oldfartdeveloper

comment created time in 3 months

Pull request review commentpurescript/documentation

Proposed corrections and changes to getting started guide

 Spago can be used to turn our PureScript code into JavaScript suitable for use i     Build succeeded.     Bundle succeeded and output file to index.js -All the code in the `src` directory and any project dependencies have been compiled to JavaScript. The resulting code is bundled as `index.js` and has also had any unused code removed, a process known as dead code elimination. This `index.js` file can now be included in an HTML document. If you try this, you should see the words "Hello, World!" printed to your browser's console.+All the code in the `src` directory and any project dependencies have been compiled to JavaScript. The resulting code is bundled as `index.js` and has also had any unused code removed, a process known as dead code elimination. This `index.js` file can now be included in an HTML document.  Try this by creating the following `index.html` file in your `my-project` directory:++```html+<!DOCTYPE html>+<html>++<head>+  <meta charset="UTF-8">+  <title>Euler Exercise</title>+</head>++<body>+  <div id="container"></div>

Removed.

oldfartdeveloper

comment created time in 3 months

Pull request review commentpurescript/documentation

Proposed corrections and changes to getting started guide

 Spago can be used to turn our PureScript code into JavaScript suitable for use i     Build succeeded.     Bundle succeeded and output file to index.js -All the code in the `src` directory and any project dependencies have been compiled to JavaScript. The resulting code is bundled as `index.js` and has also had any unused code removed, a process known as dead code elimination. This `index.js` file can now be included in an HTML document. If you try this, you should see the words "Hello, World!" printed to your browser's console.+All the code in the `src` directory and any project dependencies have been compiled to JavaScript. The resulting code is bundled as `index.js` and has also had any unused code removed, a process known as dead code elimination. This `index.js` file can now be included in an HTML document.  Try this by creating the following `index.html` file in your `my-project` directory:++```html+<!DOCTYPE html>+<html>++<head>+  <meta charset="UTF-8">+  <title>Euler Exercise</title>+</head>++<body>+  <div id="container"></div>+  <script src="./index.js"></script>+</body>++</html>+```++See this HTML file work as follows:++1.  Run `npx parcel index.html --open` in a terminal opened to your `my-project`.+1.  In the newly-opened browser, browse `localhost:1234`.  You will probably see a blank window.+1.  Open a **debugger console**.

Yup, done.

oldfartdeveloper

comment created time in 3 months

Pull request review commentpurescript/documentation

Proposed corrections and changes to getting started guide

 Spago can be used to turn our PureScript code into JavaScript suitable for use i     Build succeeded.     Bundle succeeded and output file to index.js -All the code in the `src` directory and any project dependencies have been compiled to JavaScript. The resulting code is bundled as `index.js` and has also had any unused code removed, a process known as dead code elimination. This `index.js` file can now be included in an HTML document. If you try this, you should see the words "Hello, World!" printed to your browser's console.+All the code in the `src` directory and any project dependencies have been compiled to JavaScript. The resulting code is bundled as `index.js` and has also had any unused code removed, a process known as dead code elimination. This `index.js` file can now be included in an HTML document.  Try this by creating the following `index.html` file in your `my-project` directory:++```html+<!DOCTYPE html>+<html>++<head>+  <meta charset="UTF-8">+  <title>Euler Exercise</title>+</head>++<body>+  <div id="container"></div>+  <script src="./index.js"></script>+</body>++</html>+```++See this HTML file work as follows:++1.  Run `npx parcel index.html --open` in a terminal opened to your `my-project`.+1.  In the newly-opened browser, browse `localhost:1234`.  You will probably see a blank window.+1.  Open a **debugger console**.+1.  Observe the console contains the Euler exercise result string `The answer is 233168`.  If you open `index.js`, you should see a few compiled modules which look like this: +#### How Purescript Compiler Generates Javascript

Yep, done (and you'll see it when I upload it).

oldfartdeveloper

comment created time in 3 months

Pull request review commentpurescript/documentation

Proposed corrections and changes to getting started guide

 Spago can be used to turn our PureScript code into JavaScript suitable for use i     Build succeeded.     Bundle succeeded and output file to index.js -All the code in the `src` directory and any project dependencies have been compiled to JavaScript. The resulting code is bundled as `index.js` and has also had any unused code removed, a process known as dead code elimination. This `index.js` file can now be included in an HTML document. If you try this, you should see the words "Hello, World!" printed to your browser's console.+All the code in the `src` directory and any project dependencies have been compiled to JavaScript. The resulting code is bundled as `index.js` and has also had any unused code removed, a process known as dead code elimination. This `index.js` file can now be included in an HTML document.  Try this by creating the following `index.html` file in your `my-project` directory:++```html+<!DOCTYPE html>+<html>++<head>+  <meta charset="UTF-8">+  <title>Euler Exercise</title>+</head>++<body>+  <div id="container"></div>+  <script src="./index.js"></script>+</body>++</html>+```++See this HTML file work as follows:++1.  Run `npx parcel index.html --open` in a terminal opened to your `my-project`.

@hdgarrood Without a server, opening the debugger console doesn't show the "The answer is 233168" line (at least in my system). But you have more important concerns below.

oldfartdeveloper

comment created time in 3 months

Pull request review commentpurescript/documentation

Proposed corrections and changes to getting started guide

 Spago can be used to turn our PureScript code into JavaScript suitable for use i     Build succeeded.     Bundle succeeded and output file to index.js -All the code in the `src` directory and any project dependencies have been compiled to JavaScript. The resulting code is bundled as `index.js` and has also had any unused code removed, a process known as dead code elimination. This `index.js` file can now be included in an HTML document. If you try this, you should see the words "Hello, World!" printed to your browser's console.+All the code in the `src` directory and any project dependencies have been compiled to JavaScript. The resulting code is bundled as `index.js` and has also had any unused code removed, a process known as dead code elimination. This `index.js` file can now be included in an HTML document.  Try this by creating the following `index.html` file in your `my-project` directory:++```html+<!DOCTYPE html>+<html>++<head>+  <meta charset="UTF-8">+  <title>Euler Exercise</title>+</head>++<body>+  <div id="container"></div>+  <script src="./index.js"></script>+</body>++</html>+```++See this HTML file work as follows:++1.  Run `npx parcel index.html --open` in a terminal opened to your `my-project`.+1.  In the newly-opened browser, browse `localhost:1234`.  You will probably see a blank window.+1.  Open a **debugger console**.+1.  Observe the console contains the Euler exercise result string `The answer is 233168`.  If you open `index.js`, you should see a few compiled modules which look like this: +#### How Purescript Compiler Generates Javascript

@hdgarrood there were two instances of Purescript in this doc; updated both. Good catch on moving index.js.

oldfartdeveloper

comment created time in 3 months

more