论文标题

将通用的monadic变压器嵌入Scala

Embedding generic monadic transformer into Scala

论文作者

Shevchenko, Ruslan

论文摘要

Dotty-CPS-Async是一个由Scala Macro组成的开源软件包,它通过Monadic CPS Transform和Library实现了通用异步/等待,该库为标准库提供的高阶函数提供了莫尼迪的替换。它允许开发人员在各种应用程序中使用基本语言的直接控制流构建体,而不是Monadic DSL。在著名的异步/等待操作的背后,该软件包提供了转换高阶功能应用程序,生成呼叫链代理和自动着色的选项。

Dotty-cps-async is an open-source package that consists of scala macro, which implements generic async/await via monadic cps transform, and library, which provides monadic substitutions for higher-order functions from the standard library. It allows developers to use direct control flow constructions of the base language instead of monadic DSL for various applications. Behind well-known async/await operations, the package provides options for transforming higher-order function applications, generating call-chain proxies, and automatic coloring.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源