Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.05 KB

File metadata and controls

35 lines (27 loc) · 1.05 KB
layout page
title Playground
section playground
position 2
redirect_from
quickstart

Interactive Playground

You can immediately experiment with the Effekt language, without installing it. Visit the language tour to learn more about the language.

Below you can find an editor, which is enabled by clicking "edit" on the right. Please be aware that the changes are not saved unless you create a sharable URL by clicking on the "share" button.


import list
import option

interface Greet { def sayHello(): Unit }

def main() = try {
  do sayHello()
} with Greet {
  def sayHello() = { println("Hello!"); resume(()) }
}
main()

Warning: Be sure to inspect any Effekt code that is shared with you before executing it as it is possible to run arbitrary, potentially harmful, JavaScript code.