Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/retronym/monad-ui
https://github.com/retronym/monad-ui
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/retronym/monad-ui
- Owner: retronym
- License: other
- Created: 2020-04-23T03:36:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-11T01:26:33.000Z (over 4 years ago)
- Last Synced: 2024-04-16T07:05:21.619Z (7 months ago)
- Language: Scala
- Homepage:
- Size: 16.6 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## monad-ui
Exploring different UIs for a simple Monad to evaluate the amount of code generated.
- [Output](src/main/scala/monadui/Output.scala) data type (writer + option effects)
- [DSL implementations](src/main/scala/monadui)
- Client code in [OutputTest](src/test/scala/monadui/OutputTest.scala)
## Results```
================================================================================
testFlatMapDsl
1 classes, 8743 bytes
monadui/OutputTest$testFlatMapDsl$.class
Output(Some(55),Map(Source -> Vector(OutputTest, OutputTest, OutputTest, OutputTest, OutputTest, OutputTest, OutputTest, OutputTest, OutputTest, OutputTest)))================================================================================
testFlatMapDslWithoutIndyLambda
11 classes, 27717 bytes
monadui/OutputTest$testFlatMapDslWithoutIndyLambda$$anonfun$monadui$OutputTest$testFlatMapDslWithoutIndyLambda$$$nestedInanonfun$result$14$1.class
monadui/OutputTest$testFlatMapDslWithoutIndyLambda$.class
monadui/OutputTest$testFlatMapDslWithoutIndyLambda$$anonfun$1.class
monadui/OutputTest$testFlatMapDslWithoutIndyLambda$$anonfun$monadui$OutputTest$testFlatMapDslWithoutIndyLambda$$$nestedInanonfun$result$15$1.class
monadui/OutputTest$testFlatMapDslWithoutIndyLambda$$anonfun$monadui$OutputTest$testFlatMapDslWithoutIndyLambda$$$nestedInanonfun$result$17$1.class
monadui/OutputTest$testFlatMapDslWithoutIndyLambda$$anonfun$monadui$OutputTest$testFlatMapDslWithoutIndyLambda$$$nestedInanonfun$result$16$1.class
monadui/OutputTest$testFlatMapDslWithoutIndyLambda$$anonfun$monadui$OutputTest$testFlatMapDslWithoutIndyLambda$$$nestedInanonfun$result$13$1.class
monadui/OutputTest$testFlatMapDslWithoutIndyLambda$$anonfun$monadui$OutputTest$testFlatMapDslWithoutIndyLambda$$$nestedInanonfun$result$12$1.class
monadui/OutputTest$testFlatMapDslWithoutIndyLambda$$anonfun$monadui$OutputTest$testFlatMapDslWithoutIndyLambda$$$nestedInanonfun$result$19$1.class
monadui/OutputTest$testFlatMapDslWithoutIndyLambda$$anonfun$monadui$OutputTest$testFlatMapDslWithoutIndyLambda$$$nestedInanonfun$result$18$1.class
monadui/OutputTest$testFlatMapDslWithoutIndyLambda$$anonfun$monadui$OutputTest$testFlatMapDslWithoutIndyLambda$$$nestedInanonfun$result$11$1.class
Output(Some(55),Map(Source -> Vector(OutputTest, OutputTest, OutputTest, OutputTest, OutputTest, OutputTest, OutputTest, OutputTest, OutputTest, OutputTest)))================================================================================
testFlatMapMacroDsl
1 classes, 2909 bytes
monadui/OutputTest$testFlatMapMacroDsl$.class
Output(None,Map(Source -> Vector(OutputTest)))================================================================================
testImplicitDsl
1 classes, 4268 bytes
monadui/OutputTest$testImplicitDsl$.class
Output(Some(55),Map(Source -> Vector(OutputTest, OutputTest, OutputTest, OutputTest, OutputTest, OutputTest, OutputTest, OutputTest, OutputTest, OutputTest)))================================================================================
testAsyncDsl
2 classes, 7032 bytes
monadui/OutputTest$testAsyncDsl$stateMachine$async$1.class
monadui/OutputTest$testAsyncDsl$.class
Output(Some(55),Map(Source -> Vector(OutputTest, OutputTest, OutputTest, OutputTest, OutputTest, OutputTest, OutputTest, OutputTest, OutputTest, OutputTest)))
```