Skip to content

Instantly share code, notes, and snippets.

@dnaumenko
Created February 11, 2020 12:39
Show Gist options
  • Save dnaumenko/eb9e115742cf956f0ac85aebe517e260 to your computer and use it in GitHub Desktop.
Save dnaumenko/eb9e115742cf956f0ac85aebe517e260 to your computer and use it in GitHub Desktop.
val context = Runtime({}, PlatformLive.Default).unsafeRun(Context.init(ExampleEnv("test")))
implicit val rts: Runtime[Context[ExampleEnv]] = Runtime(context, PlatformLive.Default)
buildProgram[Env[ExampleEnv, ?]].unsafeRunSync(ExampleEnv("test"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment