View zio-learning-process-4-race.sc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// summary : ZIO learning - race several sub-command processes | |
// keywords : scala, zio, learning, process, commands, pure-functional, @testable | |
// publish : gist | |
// authors : David Crosson | |
// license : Apache | |
// id : 56f16fa2-8f7e-4046-a2a5-bf19fcba2623 | |
// created-on : 2022-07-20T20:24:11+02:00 | |
// managed-by : https://github.com/dacr/code-examples-manager | |
// run-with : scala-cli $file |
View zio-learning-sttp-client-basic-1.sc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// summary : ZIO learning - Simplest http client using sttp | |
// keywords : scala, zio, learning, pure-functional, sttp, @testable | |
// publish : gist | |
// authors : David Crosson | |
// license : Apache | |
// id : 7c34fd86-2780-4a3b-9b7b-99f20c2bf9b0 | |
// created-on : 2022-07-18T14:40:23+02:00 | |
// managed-by : https://github.com/dacr/code-examples-manager | |
// run-with : scala-cli $file |
View scala-erasures.sc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// summary : Type erasure and solutions to avoid it - work in progress | |
// keywords : scala, erasure, @testable | |
// publish : gist | |
// authors : David Crosson | |
// license : Apache2 | |
// id : b88b5c9e-7aed-476a-8b44-8ff30015cfd1 | |
// created-on : 2022-07-04T09:29:07+02:00 | |
// managed-by : https://github.com/dacr/code-examples-manager | |
// run-with : scala-cli $file |
View zio-learning-logging-0-hello.sc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// summary : ZIO learning - using zio logging | |
// keywords : scala, zio, learning, logging, pure-functional, @testable | |
// publish : gist | |
// authors : David Crosson | |
// license : Apache | |
// id : 55b5a3ca-e04a-4383-a171-a6b259add699 | |
// created-on : 2022-06-30T22:28:12+02:00 | |
// managed-by : https://github.com/dacr/code-examples-manager | |
// run-with : scala-cli $file |
View zio-learning-logging-3-features.sc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// summary : ZIO learning - using zio logging great features | |
// keywords : scala, zio, learning, logging, pure-functional, @testable | |
// publish : gist | |
// authors : David Crosson | |
// license : Apache | |
// id : 5dd422d4-9a90-4450-bd24-23a46ee351b9 | |
// created-on : 2022-06-30T22:08:34+02:00 | |
// managed-by : https://github.com/dacr/code-examples-manager | |
// run-with : scala-cli $file |
View zio-learning-logging-2-hello-log4j.sc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// summary : ZIO learning - using zio logging great features | |
// keywords : scala, zio, learning, logging, pure-functional, @testable | |
// publish : gist | |
// authors : David Crosson | |
// license : Apache | |
// id : 3532fec8-5527-403e-a06f-f1a8f9a57dec | |
// created-on : 2022-06-30T22:08:34+02:00 | |
// managed-by : https://github.com/dacr/code-examples-manager | |
// run-with : scala-cli $file |
View live-01.sc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// summary : ZIO live session - Hello world | |
// keywords : scala, zio, live, demo, pure-functional, @testable | |
// publish : gist | |
// authors : David Crosson | |
// license : Apache | |
// id : 7d6e7858-f20b-43da-a914-50027a61af79 | |
// created-on : 2021-09-26T16:27:18+02:00 | |
// managed-by : https://github.com/dacr/code-examples-manager | |
// run-with : scala-cli $file |
View zio-json-644-bigdecimal.sc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// summary : zio-json - dealing with bigdecimal representation | |
// keywords : scala, zio, zio-json, @testable, bigdecimal, issue, @fail | |
// publish : gist | |
// authors : David Crosson | |
// license : Apache | |
// id : 9d4116ca-6856-455c-9c3d-8a0f0d1facbd | |
// created-on : 2022-07-02T08:45:35+02:00 | |
// managed-by : https://github.com/dacr/code-examples-manager | |
// run-with : scala-cli $file |
View zio-unsaferun-2-simplified.sc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// summary : ZIO simplified unsafeRun suggested by @adamfraser | |
// keywords : scala, zio, unsafeRun | |
// publish : gist | |
// authors : Adam Fraser | |
// license : Apache | |
// id : 4e20b965-f188-46a6-ad9d-d043edd1cd05 | |
// created-on : 2022-06-25T23:48:21+02:00 | |
// managed-by : https://github.com/dacr/code-examples-manager | |
// run-with : scala-cli $file |
View zio-unsaferun-1-default.sc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// summary : ZIO default unsafeRun for synchronous effect execution | |
// keywords : scala, zio, unsafeRun | |
// publish : gist | |
// authors : David Crosson | |
// license : Apache | |
// id : 24858e26-80d6-443a-b78e-6e590c48e2d7 | |
// created-on : 2022-06-25T23:48:21+02:00 | |
// managed-by : https://github.com/dacr/code-examples-manager | |
// run-with : scala-cli $file |
NewerOlder