rx-reason

所属分类:工具库
开发工具:OCaml
文件大小:0KB
下载次数:0
上传日期:2019-04-12 19:45:05
上 传 者sh-1993
说明:  ReasonML OCaml的 React编程库,
(Reactive programming library for ReasonML OCaml,)

文件列表:
lerna.json (132, 2019-04-12)
package-lock.json (198602, 2019-04-12)
package.json (466, 2019-04-12)
packages/ (0, 2019-04-12)
packages/ix-core/ (0, 2019-04-12)
packages/ix-core/bsconfig.json (470, 2019-04-12)
packages/ix-core/package.json (951, 2019-04-12)
packages/ix-core/src/ (0, 2019-04-12)
packages/ix-core/src/IxIterable.re (943, 2019-04-12)
packages/ix-core/src/IxIterable.rei (819, 2019-04-12)
packages/ix-core/src/IxIterator.re (1912, 2019-04-12)
packages/ix-core/src/IxIterator.rei (379, 2019-04-12)
packages/reunit/ (0, 2019-04-12)
packages/reunit/bsconfig.json (541, 2019-04-12)
packages/reunit/package.json (309, 2019-04-12)
packages/reunit/src/ (0, 2019-04-12)
packages/reunit/src/ReUnit.re (5849, 2019-04-12)
packages/reunit/src/ReUnit.rei (1570, 2019-04-12)
packages/reunit/src/platform/ (0, 2019-04-12)
packages/reunit/src/platform/js/ (0, 2019-04-12)
packages/reunit/src/platform/js/ExnHelpers.re (31, 2019-04-12)
packages/reunit/src/platform/ocaml/ (0, 2019-04-12)
packages/reunit/src/platform/ocaml/ExnHelpers.re (121, 2019-04-12)
packages/rx-core/ (0, 2019-04-12)
packages/rx-core/bsconfig.json (520, 2019-04-12)
packages/rx-core/package.json (1194, 2019-04-12)
packages/rx-core/src/ (0, 2019-04-12)
packages/rx-core/src/RxNotification.re (619, 2019-04-12)
packages/rx-core/src/RxNotification.rei (1212, 2019-04-12)
packages/rx-core/src/RxObservable.re (4882, 2019-04-12)
packages/rx-core/src/RxObservable.rei (2022, 2019-04-12)
packages/rx-core/src/RxObserverLike.re (1558, 2019-04-12)
packages/rx-core/src/RxOperator.re (322, 2019-04-12)
packages/rx-core/src/RxSubscriber.re (10717, 2019-04-12)
packages/rx-core/src/RxSubscriber.rei (5891, 2019-04-12)
packages/rx-core/test/ (0, 2019-04-12)
packages/rx-core/test/RxObservableTest.re (5347, 2019-04-12)
... ...

This repo is effectively an abandoned experiment. After doing some significant research into performance on JS, I'm no longer in favor of a shared/xplat implementation for RX written in OCaml. If targeting bucklescript, you should instead write bindings to RxJS or MostJS and use those. This repo could serve as the basis for a quality Native OCaml implementation, though in doing so I would re-evaluate some of the assumptions in the initial design. # Reactive Extensions for Reason/OCaml An implementation of Rx for Reason/OCaml that is designed with the goal of providing a minimum base line feature set to support asynchronous dataflow patterns. Currently development is focused on bucklescript, but support for native ocaml is intended and desirable. # Basic Concepts * Observables, Singles and Maybes * Disposables * Subscribers and Operators * Subjects * Schedulers # Build ``` cd ./Reactive.re npm run build ``` # Testing First build reunit. You only should have to do this once. ``` cd ./reUnit npm run build ``` Then run the tests: ``` cd ./Reactive.re npm run test ``` You can also test and generate code coverage reports: ``` cd ./Reactive.re npm run test-coverage ``` Finally there is support for interactive debugging: ``` cd ./Reactive.re npm run test-debug ```

近期下载者

相关文件


收藏者