Skip to content

Commit

Permalink
version 0.6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
gcanti committed Feb 3, 2020
1 parent ca1ac22 commit e5a361a
Show file tree
Hide file tree
Showing 7 changed files with 207 additions and 221 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@
**Note**: Gaps between patch versions are faulty/broken releases. **Note**: A feature tagged as Experimental is in a
high state of flux, you're at risk of it changing without notice.

# 0.6.6

- **New Feature**
- add `ReaderObservable` module (@mlegenhausen)
- add `MonadObservable` module (@mlegenhausen)
- `Observable`
- add `of` function (@mlegenhausen)
- **Internal**
- upgrade to `[email protected]` (@mlegenhausen)
- **Bug Fix**
- don't set `target: es6` in `tsconfig.build-es6.json` (@gcanti)

# 0.6.5

- **New Feature**
Expand Down
150 changes: 75 additions & 75 deletions docs/modules/Observable.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,28 @@ Added in v0.6.0
<h2 class="text-delta">Table of contents</h2>

- [URI (type alias)](#uri-type-alias)
- [URI (constant)](#uri-constant)
- [observable (constant)](#observable-constant)
- [fromIO (function)](#fromio-function)
- [fromOption (function)](#fromoption-function)
- [fromTask (function)](#fromtask-function)
- [getMonoid (function)](#getmonoid-function)
- [of (function)](#of-function)
- [toTask (function)](#totask-function)
- [alt (export)](#alt-export)
- [ap (export)](#ap-export)
- [apFirst (export)](#apfirst-export)
- [apSecond (export)](#apsecond-export)
- [chain (export)](#chain-export)
- [chainFirst (export)](#chainfirst-export)
- [compact (export)](#compact-export)
- [filter (export)](#filter-export)
- [filterMap (export)](#filtermap-export)
- [flatten (export)](#flatten-export)
- [map (export)](#map-export)
- [partition (export)](#partition-export)
- [partitionMap (export)](#partitionmap-export)
- [separate (export)](#separate-export)
- [URI](#uri)
- [alt](#alt)
- [ap](#ap)
- [apFirst](#apfirst)
- [apSecond](#apsecond)
- [chain](#chain)
- [chainFirst](#chainfirst)
- [compact](#compact)
- [filter](#filter)
- [filterMap](#filtermap)
- [flatten](#flatten)
- [fromIO](#fromio)
- [fromOption](#fromoption)
- [fromTask](#fromtask)
- [getMonoid](#getmonoid)
- [map](#map)
- [observable](#observable)
- [of](#of)
- [partition](#partition)
- [partitionMap](#partitionmap)
- [separate](#separate)
- [toTask](#totask)

---

Expand All @@ -48,7 +48,7 @@ export type URI = typeof URI
Added in v0.6.0
# URI (constant)
# URI
**Signature**
Expand All @@ -58,212 +58,212 @@ export const URI: "Observable" = ...

Added in v0.6.0

# observable (constant)
# alt

**Signature**

```ts
export const observable: Monad1<URI> & Alternative1<URI> & Filterable1<URI> & MonadObservable1<URI> = ...
<A>(that: () => Observable<A>) => (fa: Observable<A>) => Observable<A>
```

Added in v0.6.0

# fromIO (function)
# ap

**Signature**

```ts
export function fromIO<A>(io: IO<A>): Observable<A> { ... }
<A>(fa: Observable<A>) => <B>(fab: Observable<(a: A) => B>) => Observable<B>
```

Added in v0.6.5
Added in v0.6.0

# fromOption (function)
# apFirst

**Signature**

```ts
export function fromOption<A>(o: O.Option<A>): Observable<A> { ... }
<B>(fb: Observable<B>) => <A>(fa: Observable<A>) => Observable<A>
```

Added in v0.6.5
Added in v0.6.0

# fromTask (function)
# apSecond

**Signature**

```ts
export function fromTask<A>(t: Task<A>): Observable<A> { ... }
<B>(fb: Observable<B>) => <A>(fa: Observable<A>) => Observable<B>
```

Added in v0.6.5
Added in v0.6.0

# getMonoid (function)
# chain

**Signature**

```ts
export function getMonoid<A = never>(): Monoid<Observable<A>> { ... }
<A, B>(f: (a: A) => Observable<B>) => (ma: Observable<A>) => Observable<B>
```

Added in v0.6.0

# of (function)
# chainFirst

**Signature**

```ts
export function of<A>(a: A): Observable<A> { ... }
<A, B>(f: (a: A) => Observable<B>) => (ma: Observable<A>) => Observable<A>
```

Added in v0.6.6
Added in v0.6.0

# toTask (function)
# compact

**Signature**

```ts
export function toTask<A>(o: Observable<A>): Task<A> { ... }
<A>(fa: Observable<O.Option<A>>) => Observable<A>
```

Added in v0.6.5
Added in v0.6.0

# alt (export)
# filter

**Signature**

```ts
<A>(that: () => Observable<A>) => (fa: Observable<A>) => Observable<A>
{ <A, B>(refinement: Refinement<A, B>): (fa: Observable<A>) => Observable<B>; <A>(predicate: Predicate<A>): (fa: Observable<A>) => Observable<A>; }
```

Added in v0.6.0

# ap (export)
# filterMap

**Signature**

```ts
<A>(fa: Observable<A>) => <B>(fab: Observable<(a: A) => B>) => Observable<B>
<A, B>(f: (a: A) => O.Option<B>) => (fa: Observable<A>) => Observable<B>
```

Added in v0.6.0

# apFirst (export)
# flatten

**Signature**

```ts
<B>(fb: Observable<B>) => <A>(fa: Observable<A>) => Observable<A>
<A>(mma: Observable<Observable<A>>) => Observable<A>
```

Added in v0.6.0

# apSecond (export)
# fromIO

**Signature**

```ts
<B>(fb: Observable<B>) => <A>(fa: Observable<A>) => Observable<B>
export function fromIO<A>(io: IO<A>): Observable<A> { ... }
```

Added in v0.6.0
Added in v0.6.5

# chain (export)
# fromOption

**Signature**

```ts
<A, B>(f: (a: A) => Observable<B>) => (ma: Observable<A>) => Observable<B>
export function fromOption<A>(o: O.Option<A>): Observable<A> { ... }
```

Added in v0.6.0
Added in v0.6.5

# chainFirst (export)
# fromTask

**Signature**

```ts
<A, B>(f: (a: A) => Observable<B>) => (ma: Observable<A>) => Observable<A>
export function fromTask<A>(t: Task<A>): Observable<A> { ... }
```

Added in v0.6.0
Added in v0.6.5

# compact (export)
# getMonoid

**Signature**

```ts
<A>(fa: Observable<O.Option<A>>) => Observable<A>
export function getMonoid<A = never>(): Monoid<Observable<A>> { ... }
```

Added in v0.6.0

# filter (export)
# map

**Signature**

```ts
{ <A, B>(refinement: Refinement<A, B>): (fa: Observable<A>) => Observable<B>; <A>(predicate: Predicate<A>): (fa: Observable<A>) => Observable<A>; }
<A, B>(f: (a: A) => B) => (fa: Observable<A>) => Observable<B>
```

Added in v0.6.0

# filterMap (export)
# observable

**Signature**

```ts
<A, B>(f: (a: A) => O.Option<B>) => (fa: Observable<A>) => Observable<B>
export const observable: Monad1<URI> & Alternative1<URI> & Filterable1<URI> & MonadObservable1<URI> = ...
```

Added in v0.6.0

# flatten (export)
# of

**Signature**

```ts
<A>(mma: Observable<Observable<A>>) => Observable<A>
export function of<A>(a: A): Observable<A> { ... }
```

Added in v0.6.0
Added in v0.6.6

# map (export)
# partition

**Signature**

```ts
<A, B>(f: (a: A) => B) => (fa: Observable<A>) => Observable<B>
{ <A, B>(refinement: Refinement<A, B>): (fa: Observable<A>) => Separated<Observable<A>, Observable<B>>; <A>(predicate: Predicate<A>): (fa: Observable<A>) => Separated<Observable<A>, Observable<A>>; }
```

Added in v0.6.0

# partition (export)
# partitionMap

**Signature**

```ts
{ <A, B>(refinement: Refinement<A, B>): (fa: Observable<A>) => Separated<Observable<A>, Observable<B>>; <A>(predicate: Predicate<A>): (fa: Observable<A>) => Separated<Observable<A>, Observable<A>>; }
<A, B, C>(f: (a: A) => E.Either<B, C>) => (fa: Observable<A>) => Separated<Observable<B>, Observable<C>>
```

Added in v0.6.0

# partitionMap (export)
# separate

**Signature**

```ts
<A, B, C>(f: (a: A) => E.Either<B, C>) => (fa: Observable<A>) => Separated<Observable<B>, Observable<C>>
<A, B>(fa: Observable<E.Either<A, B>>) => Separated<Observable<A>, Observable<B>>
```

Added in v0.6.0

# separate (export)
# toTask

**Signature**

```ts
<A, B>(fa: Observable<E.Either<A, B>>) => Separated<Observable<A>, Observable<B>>
export function toTask<A>(o: Observable<A>): Task<A> { ... }
```

Added in v0.6.0
Added in v0.6.5
Loading

0 comments on commit e5a361a

Please sign in to comment.