effekt-lang / effekt

A language with lexical effect handlers and lightweight effect polymorphism
https://effekt-lang.org
MIT License
321 stars 23 forks source link

Future Work: Special support for effects and handlers in the IDE #23

Open b-studios opened 4 years ago

b-studios commented 4 years ago

Some unstructured notes about things we might want to support at some point:

Possible IDE features:

Questions:

def bar(x: Int) = {
    ...
}

def foo(): Int / Print = <?
  val x = foo();
  x
?> // ?? =. <? () ?>

def bar() = {
    val position = 42
    position.<? { x => x + 1 } ?>
    ({ x => 42 })(5)
    ()
}
b-studios commented 8 months ago

This was addressed by @timmy-newtron in his BSc thesis, but sadly never merged