Comparing version 19.0.2 to 20.0.0
@@ -7,5 +7,5 @@ "use strict"; | ||
const QIO_1 = require("../src/main/QIO"); | ||
const Snapshot_1 = require("../src/main/Snapshot"); | ||
const TestRuntime_1 = require("../src/runtimes/TestRuntime"); | ||
const Counter_1 = require("./internals/Counter"); | ||
const Snapshot_1 = require("./internals/Snapshot"); | ||
describe('FiberContext', () => { | ||
@@ -12,0 +12,0 @@ context('on creation', () => { |
@@ -6,6 +6,6 @@ import {assert, spy} from 'chai' | ||
import {QIO} from '../src/main/QIO' | ||
import {Snapshot} from '../src/main/Snapshot' | ||
import {testRuntime} from '../src/runtimes/TestRuntime' | ||
import {Counter} from './internals/Counter' | ||
import {Snapshot} from './internals/Snapshot' | ||
@@ -12,0 +12,0 @@ describe('FiberContext', () => { |
@@ -7,6 +7,6 @@ "use strict"; | ||
const QIO_1 = require("../src/main/QIO"); | ||
const Snapshot_1 = require("../src/main/Snapshot"); | ||
const DefaultRuntime_1 = require("../src/runtimes/DefaultRuntime"); | ||
const TestRuntime_1 = require("../src/runtimes/TestRuntime"); | ||
const Counter_1 = require("./internals/Counter"); | ||
const Snapshot_1 = require("./internals/Snapshot"); | ||
describe('QIO', () => { | ||
@@ -13,0 +13,0 @@ describe('of', () => { |
@@ -10,2 +10,3 @@ /** | ||
import {QIO, UIO} from '../src/main/QIO' | ||
import {Snapshot} from '../src/main/Snapshot' | ||
import {defaultRuntime} from '../src/runtimes/DefaultRuntime' | ||
@@ -15,3 +16,2 @@ import {testRuntime} from '../src/runtimes/TestRuntime' | ||
import {Counter} from './internals/Counter' | ||
import {Snapshot} from './internals/Snapshot' | ||
@@ -18,0 +18,0 @@ describe('QIO', () => { |
@@ -6,2 +6,18 @@ # Change Log | ||
# [20.0.0](https://github.com/tusharmath/qio/compare/v19.0.2...v20.0.0) (2019-10-31) | ||
### Code Refactoring | ||
* **package:** create a new @qio/stream package ([eaa9f3d](https://github.com/tusharmath/qio/commit/eaa9f3d55db1176884c93da1ab3d1ec586ec0db9)) | ||
### BREAKING CHANGES | ||
* **package:** FStream has been removed from @qio/core to @qio/stream | ||
## [19.0.2](https://github.com/tusharmath/qio/compare/v19.0.1...v19.0.2) (2019-10-31) | ||
@@ -8,0 +24,0 @@ |
@@ -6,7 +6,7 @@ export { Await } from './src/main/Await'; | ||
export { FMap } from './src/main/FMap'; | ||
export { FStream, Stream } from './src/main/FStream'; | ||
export { IRuntime } from './src/runtimes/IRuntime'; | ||
export { Managed } from './src/main/Managed'; | ||
export { Managed, UManaged } from './src/main/Managed'; | ||
export { Queue } from './src/main/Queue'; | ||
export { Ref } from './src/main/Ref'; | ||
export { testRuntime } from './src/runtimes/TestRuntime'; | ||
export { Snapshot } from './src/main/Snapshot'; |
@@ -17,4 +17,2 @@ "use strict"; | ||
exports.FMap = FMap_1.FMap; | ||
var FStream_1 = require("./src/main/FStream"); | ||
exports.FStream = FStream_1.FStream; | ||
var Managed_1 = require("./src/main/Managed"); | ||
@@ -28,1 +26,3 @@ exports.Managed = Managed_1.Managed; | ||
exports.testRuntime = TestRuntime_1.testRuntime; | ||
var Snapshot_1 = require("./src/main/Snapshot"); | ||
exports.Snapshot = Snapshot_1.Snapshot; |
@@ -7,7 +7,7 @@ /* tslint:disable:file-name-casing */ | ||
export {FMap} from './src/main/FMap' | ||
export {FStream, Stream} from './src/main/FStream' | ||
export {IRuntime} from './src/runtimes/IRuntime' | ||
export {Managed} from './src/main/Managed' | ||
export {Managed, UManaged} from './src/main/Managed' | ||
export {Queue} from './src/main/Queue' | ||
export {Ref} from './src/main/Ref' | ||
export {testRuntime} from './src/runtimes/TestRuntime' | ||
export {Snapshot} from './src/main/Snapshot' |
@@ -17,5 +17,5 @@ { | ||
}, | ||
"version": "19.0.2", | ||
"version": "20.0.0", | ||
"dependencies": { | ||
"@qio/prelude": "^19.0.0", | ||
"@qio/prelude": "^20.0.0", | ||
"checked-exceptions": "^1.2.0", | ||
@@ -40,3 +40,3 @@ "debug": "^4.1.1", | ||
}, | ||
"gitHead": "cb3299fc630cc556410029e28568bc439924b69e" | ||
"gitHead": "216fd2a7134df376d8fe25eb444f980d826d69a0" | ||
} |
@@ -1,2 +0,1 @@ | ||
import { FStream } from './FStream'; | ||
import { UIO } from './QIO'; | ||
@@ -16,3 +15,2 @@ export declare class Queue<A = never> { | ||
takeN(n: number): UIO<A[]>; | ||
readonly asStream: FStream<never, A, unknown>; | ||
} |
@@ -5,3 +5,2 @@ "use strict"; | ||
const Await_1 = require("./Await"); | ||
const FStream_1 = require("./FStream"); | ||
const QIO_1 = require("./QIO"); | ||
@@ -61,6 +60,3 @@ class Queue { | ||
} | ||
get asStream() { | ||
return FStream_1.FStream.produce(this.take); | ||
} | ||
} | ||
exports.Queue = Queue; |
import {DoublyLinkedList, List, Option} from 'standard-data-structures' | ||
import {Await} from './Await' | ||
import {FStream} from './FStream' | ||
import {QIO, UIO} from './QIO' | ||
@@ -111,9 +110,2 @@ | ||
} | ||
/** | ||
* Converts a queue into a [[FStream]] | ||
*/ | ||
public get asStream(): FStream<never, A, unknown> { | ||
return FStream.produce(this.take) | ||
} | ||
} |
210090
100
5636
+ Added@qio/prelude@20.0.4(transitive)
Updated@qio/prelude@^20.0.0