#scala-3

[ follow ]
Alvinalexander
2 months ago
Scala

A Scala 3 function that counts the number of vowels in the String it is given as input

Using Scala 3 Set as a function for counting vowels in a string. [ more ]
#error-handling
Alvinalexander
2 months ago
Scala

ZIO 2: Processing ZIO command line arguments

Scala 3 and ZIO 2 example demonstrates processing command-line arguments in a ZIO 2 application. [ more ]
Alvinalexander
2 months ago
JavaScript

ZIO 2: A ZIO.timeout interrupt example with ZIO.attempt

ZIO.timeout can be used in Scala 3 for adding a timeout to an operation, resulting in a None value if the timeout is triggered. [ more ]
Alvinalexander
2 months ago
Scala

ZIO 2: Processing ZIO command line arguments

Scala 3 and ZIO 2 example demonstrates processing command-line arguments in a ZIO 2 application. [ more ]
Alvinalexander
2 months ago
JavaScript

ZIO 2: A ZIO.timeout interrupt example with ZIO.attempt

ZIO.timeout can be used in Scala 3 for adding a timeout to an operation, resulting in a None value if the timeout is triggered. [ more ]
moreerror-handling
Alvinalexander
2 months ago
Scala

Scala 3: Package objeccts are deprecated, how to create types in a top-level package and use them everywhere in your project

In Scala 3, package objects are deprecated, impacting code accessibility across sub-packages. A workaround is to define common types in a 'near' top-level package for import. [ more ]
Inner-product
2 months ago
Scala

Direct-style Effects Explained

Direct-style effects aim to provide the benefits of monads without using monads in programming languages. [ more ]
Alvinalexander
3 months ago
Scala

My free Scala and FP online video training courses

Ziverge sponsored and enabled free video training courses on Scala 3 without ads or paywalls. [ more ]
#opaque-types
Alvinalexander
3 months ago
Scala

Scala 3 Opaque Types: When to use, examples, benefits

Opaque types in Scala 3 offer encapsulation, type safety, abstraction, and semantic clarity.
They help create new data types with controlled access to representation, suitable for scenarios needing clear interfaces and meaningful names. [ more ]
Alvinalexander
2 years ago
Scala

Scala 3 opaque types: How to create meaningful type names

Use opaque types in Scala 3 to create meaningful type names for safer code. [ more ]
Alvinalexander
3 months ago
Scala

Scala 3 Opaque Types: When to use, examples, benefits

Opaque types in Scala 3 offer encapsulation, type safety, abstraction, and semantic clarity.
They help create new data types with controlled access to representation, suitable for scenarios needing clear interfaces and meaningful names. [ more ]
Alvinalexander
2 years ago
Scala

Scala 3 opaque types: How to create meaningful type names

Use opaque types in Scala 3 to create meaningful type names for safer code. [ more ]
moreopaque-types
Alvinalexander
4 months ago
Scala

Scala: How do I perform pattern matching on strings and regular expressions in a match expression?

Pattern matching in Scala can be performed on regular expression strings in a match expression.
Regular expressions can be defined as a Regex type and used for pattern matching in Scala. [ more ]
Scala-lang
4 months ago
Scala

Scala 3 Roadmap for 2024 Published

Scala 3 team plans for 2024 detailed in blog post
Focus on improving build times and IDE support [ more ]
Medium
5 months ago
Scala

Scala 3 Data Transformation Library: Automating Data Transformations with ducktape

Working with data transformations is essential but can be cumbersome and prone to errors.
Ducktape, a Scala 3 micro-library, simplifies data model conversions, freeing developers to focus on innovation. [ more ]
Medium
5 months ago
Scala

The Algebra of Pretty Printing

ToyLang is a custom language with features such as integer literals, variable support, binary arithmetic operators, conditional statements, and nested scopes.
The article discusses the design of a pretty printer for ToyLang using Scala 3 and Abstract Syntax Trees (AST). [ more ]
jducoeur.medium.com
6 months ago
Scala

Cool new experiments in Type Classes

Scala 3 is now in the refinement phase, focusing on improving the details.
There are major changes proposed to the surface syntax of type classes in Scala 3 for better expressivity. [ more ]
Medium
6 months ago
Scala

Seamless Integration: Step-by-Step Installation of Scala 3 on RHEL 9 Using Terminal

Scala 3 is the latest version of the Scala programming language, which offers several new features and improvements over its predecessor.
Alvinalexander
3 weeks ago
JavaScript

ZIO/ZLayer FAQ: How to use a Java Properties files with ZIO

Use hand-coded ZLayer solution for Java Properties in ZIO 2 and Scala 3. [ more ]
#zio-http
Medium
1 month ago
JavaScript

Securing your APIs with Oauth 2.0

Authentication is crucial in client-server applications; Scala 3 with ZIO HTTP can be used for building secure systems with OAuth 2.0 using Okta for authentication. [ more ]
Medium
1 month ago
JavaScript

Securing your APIs with Oauth 2.0

Building a client-server application in Scala 3 using ZIO HTTP for secure communication with OAuth 2.0 authentication via Okta. [ more ]
Medium
1 month ago
JavaScript

Securing your APIs with Oauth 2.0

Authentication is crucial in client-server applications; Scala 3 with ZIO HTTP can be used for building secure systems with OAuth 2.0 using Okta for authentication. [ more ]
Medium
1 month ago
JavaScript

Securing your APIs with Oauth 2.0

Building a client-server application in Scala 3 using ZIO HTTP for secure communication with OAuth 2.0 authentication via Okta. [ more ]
morezio-http
Medium
1 month ago
Scala

Scala 3 Odyssey: Key Insights and Highlights

A comprehensive overview of Scala programming language and its ecosystem, covering introduction, toolchain, CLI, SBT, and development environment. [ more ]
Alvinalexander
7 months ago
Scala

A ZIO 2 collectAllPar example using Scala 3

ZIO collectAllPar method example with for expression. [ more ]
Alvinalexander
1 year ago
Scala

Learn Scala 3 The Fast Way!

Learn Scala 3 The Fast Way! focuses on helping beginners grasp Scala 3 concepts quickly and includes online exercises for better retention. [ more ]
Alvinalexander
2 years ago
Scala

Scala 3 'while' loop syntax and examples

Scala 3 while loop syntax examples for one-liners and multiline statements. [ more ]
underscore.io
4 years ago
Scala

Our Talks from 2019

Diverse topics covered in 2019 talks: mentoring, teaching, ethics in tech, type class derivation changes in Scala 3. [ more ]
[ Load more ]