Skip to content

Instantly share code, notes, and snippets.

@daddykotex
Created April 8, 2022 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daddykotex/92918eee47a53e550db3754061b887ea to your computer and use it in GitHub Desktop.
Save daddykotex/92918eee47a53e550db3754061b887ea to your computer and use it in GitHub Desktop.
http4s double scheme
//> 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