dotty-cps-async
experimental CPS transformer for dotty
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.0%) to scientific vocabulary
Keywords
Repository
experimental CPS transformer for dotty
Basic Info
Statistics
- Stars: 191
- Watchers: 12
- Forks: 23
- Open Issues: 2
- Releases: 12
Topics
Metadata Files
README.md
🇺🇦 HELP UKRAINE
I'm the creator of this project. My country, Ukraine, is being invaded by the Russian Federation, right now. If you want to help my country to fight, consider donating to charity supporting Ukrainian army. More options is described on support ukraine site.
dotty-cps-async
This is the implementation of async/await transformation for Scala 3 (Dotty), based on an optimized version of CPS transformation, where the continuation is ‘pushed’ to the monad.
Highlights
- 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
CpsAsyncMonadtype class. You can provide those methods for your favorite monad.
- An await monad can be any trait for which it is possible to implement
- 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, read the documentation at https://dotty-cps-async.github.io/dotty-cps-async/.
Presentations
Embedding generic monadic transformers into scala.
- Trends in Functional Programming 2022. https://www.slideshare.net/rssh1/embedding-generic-monadic-transformer-into-scala-tfp2022 (May 2022)
Scala3 & Async: Behind Futures.
- Svitla Smart Talk. https://www.youtube.com/watch?v=fBcGhjM2s-c (April 2021. In Ukrainian language).
Can we free concurrent programming from the monadic style?
- ScalaR: https://www.youtube.com/watch?v=ImlUuTQUeaQ (June 2020)
- ScalaUA: https://www.youtube.com/watch?v=w-noRPLxYoA&t=3s (April 2020) (slides: https://www.slideshare.net/rssh1/can-concurrent-functional-programming-be-liberated-from-monadic-style )
Owner
- Name: dotty-cps-async
- Login: dotty-cps-async
- Kind: organization
- Repositories: 1
- Profile: https://github.com/dotty-cps-async
Citation (CITATION.cff)
# YAML 1.2
---
authors:
-
family-names: Shevchenko
given-names: Ruslan
orcid: "https://orcid.org/0000-0002-1554-2019"
cff-version: "1.1.0"
keywords:
- scala
- async
license: "Apache-2.0"
message: "If you use this software, please cite it using these metadata."
repository-code: "https://github.com/rssh/dotty-cps-async"
title: "dotty-cps-async"
preferred-citation:
type: article
authors:
-
family-names: Shevchenko
given-names: Ruslan
orcid: "https://orcid.org/0000-0002-1554-2019"
doi: "10.1007/978-3-031-21314-4_1"
title: "Project Paper: Embedding Generic Monadic Transformer into Scala"
journal: "Lecture Notes in Computer Science"
volume: "3401"
volume-title: "Trends in Functional Programming. TFP 2022."
conference:
name: "Trends in Functional Programming 2022"
editor-series:
- family-names: Swierstra
given-names: Wouter
- family-names: Wu
given-names: Nicolas
publisher:
name: "Springer, Cham"
isbn: "978-3-031-21313-7"
year: "2022"
...
GitHub Events
Total
- Create event: 13
- Issues event: 9
- Release event: 3
- Watch event: 11
- Delete event: 2
- Issue comment event: 23
- Push event: 63
- Pull request review event: 1
- Pull request event: 2
- Fork event: 1
Last Year
- Create event: 13
- Issues event: 9
- Release event: 3
- Watch event: 11
- Delete event: 2
- Issue comment event: 23
- Push event: 63
- Pull request review event: 1
- Pull request event: 2
- Fork event: 1
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 4
- Total pull requests: 1
- Average time to close issues: 7 days
- Average time to close pull requests: about 3 hours
- Total issue authors: 1
- Total pull request authors: 1
- Average comments per issue: 1.75
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 4
- Pull requests: 1
- Average time to close issues: 7 days
- Average time to close pull requests: about 3 hours
- Issue authors: 1
- Pull request authors: 1
- Average comments per issue: 1.75
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- benhutchison (4)
Pull Request Authors
- WojciechMazur (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v2 composite
- actions/setup-java v2 composite