Skip to content

Commit

Permalink
misc readme fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
amilajack authored Feb 14, 2019
1 parent 41ba8f9 commit 6eec0e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ Demonstrates a minimal Haskell code to produce a working (JavaScript only) nodej
We are basically writing an equivalent to this JavaScript code:

```javascript
var os = require("os");
const os = require("os");
console.log(os.hostname());
```

##To build
## To build
* First install ghcjs according to [GHCJS doc](https://github.com/ghcjs/ghcjs).
* Clone this project.
* run `ghcjs -o test src/Main.hs`

##To run
## To run
* You need [nodejs installed](https://nodejs.org/download/)
* Then run: `node test.jsexe/all.js`

##Resources
## Resources
* http://weblog.luite.com/wordpress/
* https://nodejs.org/api/os.html

0 comments on commit 6eec0e0

Please sign in to comment.