Created
April 8, 2022 14:02
-
-
Save daddykotex/92918eee47a53e550db3754061b887ea to your computer and use it in GitHub Desktop.
http4s double scheme
This file contains hidden or 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
//> using lib "org.http4s::http4s-core:0.23.11" | |
//> using scala "2.13.8" | |
object Repro extends App { | |
org.http4s.Uri | |
.fromString("https://https://some-url.com/path") | |
.fold( | |
err => println("Not gonna happen"), | |
_ => println("This prints") | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment