Skip to content

Commit

Permalink
refactor(csp): update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Sep 10, 2021
1 parent 7e1855c commit 9c6f8b8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 17 deletions.
2 changes: 1 addition & 1 deletion packages/csp/src/buffer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DCons } from "@thi.ng/dcons";
import { DCons } from "@thi.ng/dcons/dcons";
import type { ChannelItem, IBuffer } from "./api";

export class FixedBuffer<T> implements IBuffer<T> {
Expand Down
22 changes: 9 additions & 13 deletions packages/csp/src/channel.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
import type { Fn, Fn0, Fn2, FnAny, Nullable, Predicate } from "@thi.ng/api";
import { shuffle } from "@thi.ng/arrays";
import { isFunction } from "@thi.ng/checks";
import { DCons } from "@thi.ng/dcons";
import { illegalArity } from "@thi.ng/errors";
import {
cycle,
delayed,
isReduced,
range,
Reducer,
Transducer,
unreduced,
} from "@thi.ng/transducers";
import { shuffle } from "@thi.ng/arrays/shuffle";
import { isFunction } from "@thi.ng/checks/is-function";
import { DCons } from "@thi.ng/dcons/dcons";
import { illegalArity } from "@thi.ng/errors/illegal-arity";
import type { Reducer, Transducer } from "@thi.ng/transducers";
import { cycle } from "@thi.ng/transducers/iter/cycle";
import { range } from "@thi.ng/transducers/iter/range";
import { isReduced, unreduced } from "@thi.ng/transducers/reduced";
import { delayed } from "@thi.ng/transducers/xform/delayed";
import type {
ChannelItem,
ErrorHandler,
Expand Down
4 changes: 2 additions & 2 deletions packages/csp/src/mult.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DCons } from "@thi.ng/dcons";
import { illegalArity } from "@thi.ng/errors";
import { DCons } from "@thi.ng/dcons/dcons";
import { illegalArity } from "@thi.ng/errors/illegal-arity";
import type { Transducer } from "@thi.ng/transducers";
import type { IWriteableChannel } from "./api";
import { Channel } from "./channel";
Expand Down
2 changes: 1 addition & 1 deletion packages/csp/src/pubsub.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { IObjectOf } from "@thi.ng/api";
import { illegalArity } from "@thi.ng/errors";
import { illegalArity } from "@thi.ng/errors/illegal-arity";
import type { Transducer } from "@thi.ng/transducers";
import type { IWriteableChannel, TopicFn } from "./api";
import { Channel } from "./channel";
Expand Down

0 comments on commit 9c6f8b8

Please sign in to comment.