Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

com.github.rssh:dotty-cps-async_3.0.0-RC3

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

com.github.rssh:dotty-cps-async_3.0.0-RC3

async/await macros based on optimised monadic cps transform

  • 0.6.2
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

dotty-cps-async

This is the implementation of async/await transformation for Dotty (next version of the Scala programming language), based on an optimized version of cps[continuation passing style] transformation, where continuation is ‘pushed’ to the monad.

Highlightings:

  • Full support of all scala language constructs in async/await block.
  • Pluggable monad interface:
    • An await monad can be any trait, for which it is possible to implement CpsAsyncMonad typeclass. You can provide those methods for your favorite monad.
  • Limited support of high-order functions:
    • urls.map(fetchData(_))(await _ ) is an idiomatic way to fetch data for all items in parallel.
    • An application developer or library author can provide 'shifted' implementation of the own high-order functions.
  • Optional features, which enhance ergonomics in some cases, such as automatic coloring and handling discarded values
  • Optional SIP-22 compatible API.

For more details, please, look at the documentation: https://rssh.github.io/dotty-cps-async/

Currently, doty-cps-async is at an early stage and not ready for production use. There are many things, which not work yet. You can help to develop by providing test cases and implementing missing parts.

Presentations

FAQs

Package last updated on 26 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc