Skip to content
 
 

Latest commit

 

History

31 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contexts

A Scala 2.12.x compiler plugin for contexts. You can write

x  { // arbitrary code }

and this will be rewritten to

{
  val inside_local_0 = x
  import inside_local_0._
  // arbitrary code
}

Usage

Add to your build

addCompilerPlugin("ohnosequences" %% "contexts" % version)

Credits

This plugin is a simple modification of mpilquist/local-implicits.

About

Scala compiler plugin which provides syntax for contexts `x ⊢ { ... }`

Resources

Stars

19 stars

Watchers

8 watching

Forks

Releases

Packages

Contributors

Languages