Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Effekt

< >

Effekt is a programming language created in 2020 by Jonathan Immanuel Brachth盲user.

#1026on PLDB 4Years Old
Download source code:
git clone https://github.com/effekt-lang/effekt
HomepageREPLSource Code

A language with lexical effect handlers and lightweight effect polymorphism.


Example from the web:
def eager[R] { p: R / { Flip, Fail, Error } } = try { Success(p()) } with Flip { () => resume(true) match { case Failure(msg) => resume(false) case Success(res) => Success(res) case ParseError(msg) => ParseError(msg) } } with Fail { (msg) => Failure(msg) } with Error { (msg) => ParseError(msg) }
View source
- Build the next great programming language About Keywords Livestreams Labs Resources Acknowledgements Part of the World Wide Scroll