Skip to content

Instantly share code, notes, and snippets.

View ymdfield's full-sized avatar

Riyo ymdfield

  • Tokyo, Japan
  • 11:29 (UTC +09:00)
  • X @ymdfield
View GitHub Profile
@marcinzh
marcinzh / CatchFail.scala
Created May 28, 2025 13:38
CatchFail.hs translated to Scala 3 and Turbolift
//> using scala "3.3.5"
//> using dep "io.github.marcinzh::turbolift-core:0.112.0"
//> using dep "io.github.marcinzh::turbolift-bindless:0.112.0"
/*********************************************************************************************
How to run:
1. Ensure you have Java 11 or newer
2. Install scala-cli
3. Execute `scala-cli <link-to-this-gist>`
Link to the original: