Skip to content

Commit 49a3d73

Browse files
committed
0.9.0-rc.0
1 parent eded6a9 commit 49a3d73

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
# Changelog
2+
13
## 0.9.0
24

3-
### alpha.5 (?? 2018)
5+
### rc.0 (18 Jun 2018)
46

57
- [new] add `from` static constructor method to NEL and List
68
- [fix] fix broken List.equals
@@ -74,7 +76,6 @@
7476
- [new] add `.ap()` to List, Free and NonEmptyList -- thanks to @WojciechP ( #44 )
7577
- [new] add `"use strict";` -- thanks to @krjackso ( #41 )
7678

77-
7879
### Typings
7980

8081
TypeScript typings added to repository, so now anyone can:

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22

33
[![Build Status](https://travis-ci.org/monet/monet.js.png)](https://travis-ci.org/monet/monet.js)
44

5-
65
For people who wish they didn't have to programme in JavaScript. [documentation](docs/README.md)
76

8-
97
## Introduction
108

119
Monet is a library designed to bring great power to your JavaScript programming. It is a tool bag that assists Functional Programming by providing a rich set of Monads and other useful functions.
@@ -25,18 +23,20 @@ Download the [zip][gitZip] or [tar][gitTar] ball.
2523
## Installation
2624

2725
Simply download and add to your html pages or we also support [bower] and [npm]. You can also include `monet-pimp.js` which contains extra functions on the `Object.prototype` for creating monads.
26+
2827
```html
2928
<script type="text/javascript" src="monet.js"></script>
3029
<!-- Optionally -=>
3130
<script type="text/javascript" src="monet-pimp.js"></script>
3231
```
32+
3333
### Bower installation
3434
3535
```bash
3636
bower install monet --save
3737
3838
# or to install a specific version
39-
bower install monet#0.9.0-alpha.4
39+
bower install monet#0.9.0-rc.0
4040
```
4141
4242
### NPM installation
@@ -45,7 +45,7 @@ bower install monet#0.9.0-alpha.4
4545
npm install monet --save
4646
4747
# or to install a specific version
48-
npm install monet@0.9.0-alpha.4
48+
npm install monet@0.9.0-rc.0
4949
```
5050
5151
## Contents
@@ -57,9 +57,11 @@ The `Maybe` type is the most common way of representing *nothingness* (or the `n
5757
`Maybe` is effectively abstract and has two concrete subtypes: `Some` (also `Just`) and `None` (also `Nothing`).
5858
5959
### [Either](docs/EITHER.md)
60+
6061
Either (or the disjunct union) is a type that can either hold a value of type `A` or a value of type `B` but never at the same time. Typically it is used to represent computations that can fail with an error. Think of it as a better way to handle exceptions. We think of an `Either` as having two sides, the success is held on the right and the failure on the left. This is a right biased either which means that `map` and `flatMap` (`bind`) will operate on the right side of the either.
6162
6263
### [Validation](docs/VALIDATION.md)
64+
6365
Validation is not quite a monad as it [doesn't quite follow the monad rules](http://stackoverflow.com/questions/12211776/why-isnt-validation-a-monad-scalaz7), even though it has the monad methods. It that can hold either a success value or a failure value (i.e. an error message or some other failure object) and has methods for accumulating errors. We will represent a Validation like this: `Validation[E,A]` where `E` represents the error type and `A` represents the success type.
6466
6567
### [Immutable lists](docs/LIST.md)
@@ -72,6 +74,7 @@ Much like the immutable list, a Non Empty List can never be empty. It implements
7274
and a guaranteed (total) tail.
7375
7476
### [IO](docs/IO.md)
77+
7578
The `IO` monad is for isolating effects to maintain referential transparency in your software. Essentially you create a description of your effects of which is performed as the last action in your programme. The IO is lazy and will not be evaluated until the `perform` (*alias* `run`) method is called.
7679
7780
### [Reader](docs/READER.md)
@@ -82,6 +85,7 @@ teeth into the `Reader` monad such as [these great talks](http://functionaltalks
8285
The `Reader` monad provides a way to "weave" your configuration throughout your programme.
8386
8487
### [Free](docs/FREE.md)
88+
8589
The `Free` monad is a monad that is able to separate instructions from their interpreter. There are many applications for this monad, and one of them is for implementing Trampolines, (which is a way to make recursion constant stack for languages that don't support tail call elimination, like JavaScript!).
8690
8791
Please see [Ken Scambler](http://twitter.com/KenScambler)'s [excellent talk](http://www.slideshare.net/kenbot/running-free-with-the-monads) and [example project](https://github.com/kenbot/free) to get an in-depth understanding of this very useful monad.
@@ -90,7 +94,6 @@ Please see [Ken Scambler](http://twitter.com/KenScambler)'s [excellent talk](htt
9094
9195
Written and maintained by Chris Myers [@cwmyers](https://twitter.com/cwmyers) and Jakub Strojewski [@ulfryk](https://twitter.com/ulfryk). Follow Monet.js at [@monetjs](http://twitter.com/monetjs).
9296
93-
9497
[functionalJava]: http://functionaljava.org/
9598
[gitZip]: https://github.com/monet/monet.js/archive/v0.8.10.zip
9699
[gitTar]: https://github.com/monet/monet.js/archive/v0.8.10.tar.gz

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"name": "monet",
1010
"description": "Monadic types library for JavaScript",
11-
"version": "0.9.0-alpha.5",
11+
"version": "0.9.0-rc.0",
1212
"homepage": "https://monet.github.io/monet.js/",
1313
"repository": {
1414
"type": "git",

0 commit comments

Comments
 (0)