Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdedetrich/get-inline
Cross Scala version getInline macro annotation that ensures inlining of def/val
https://github.com/mdedetrich/get-inline
Last synced: 26 days ago
JSON representation
Cross Scala version getInline macro annotation that ensures inlining of def/val
- Host: GitHub
- URL: https://github.com/mdedetrich/get-inline
- Owner: mdedetrich
- License: apache-2.0
- Created: 2023-08-31T10:39:56.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-10T09:56:41.000Z (about 1 year ago)
- Last Synced: 2024-05-02T02:30:37.420Z (6 months ago)
- Language: Scala
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Get Inline
*Scala compiler, get in line dammit!*
Get Inline is a simple cross Scala 2/Scala 3 `@getInline` Macro Annotation that ensures that the superseding
`val`/`def` gets inlined. This is achieved by the macro transforming the macro to use the `@inline` annotation for
Scala 2 and the `inline` keyword for Scala 3.