Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dacr/zio-worksheet
Simplified ZIO user experience in REPL, worksheet or script contexts
https://github.com/dacr/zio-worksheet
repl scala zio
Last synced: 19 days ago
JSON representation
Simplified ZIO user experience in REPL, worksheet or script contexts
- Host: GitHub
- URL: https://github.com/dacr/zio-worksheet
- Owner: dacr
- License: other
- Created: 2022-06-26T08:51:27.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-28T22:46:11.000Z (4 months ago)
- Last Synced: 2024-06-28T23:45:05.803Z (4 months ago)
- Topics: repl, scala, zio
- Language: Scala
- Homepage:
- Size: 32.2 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ZIO worksheet [![][ZIOWorksheetManagerImg]][ZIOWorksheetManagerLnk]
A small library to simplify ZIO developer experience in the context of REPL sessions, scripts or worksheets. It must
only be used in this context, for example in real world projects you must use `ZIOAppDefault` or `ZIOSpecDefault`
as your main starting point for your ZIO projects.This library comes with various helpers in order to make your code examples the most simple possible for learning, demo,
proof of concepts purposes. It brings a `.unsafeRun` function (originally written by @adamgfraser) to quickly start
an effect synchronously and get its results :```scala
//> using scala "3.2.2"
//> using lib "fr.janalyse::zio-worksheet:2.0.12.0"import zio.*
import zio.worksheet.*val app = Console.printLine("Hello world !")
app.unsafeRun
```[ZIOWorksheetManagerImg]: https://img.shields.io/maven-central/v/fr.janalyse/zio-worksheet_3.svg
[ZIOWorksheetManagerLnk]: https://mvnrepository.com/artifact/fr.janalyse/zio-worksheet