Git Product home page Git Product logo

imp's People

Contributors

dsmatter avatar mikejcurry avatar non avatar nrinaudo avatar rossabaker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

imp's Issues

Add scala.js version

This very small library has all the hallmarks of one that will be used by many, many libraries. So please can we have a Scala.js version sooner rather than later, please?

Benchmarks showing differences btwn this and `implicitly`?

Hi there,

I just found out about this project and I find it very interesting; mostly because I didn't even know there was a runtime cost for using implicitly !

Do you have any benchmarks that you can share comparing imp with implicitly?

Thanks!

Get tests running correctly under 'release'

Currently the tests assume that they are run from the top-level of the repo.

However, it seems like during the release command the tests run with a different working directory (which means they fail). For now I have disabled the tests during releasing, but it would be better to figure out how to make it work correctly.

Support both JS/JVM and 2.10/2.11 via unmanagedSourceDirectories

While adding scala.js support, I was forced to remove the src/main/scala_2.10 and src/main/scala_2.11 directories. Previously we used:

unmanagedSourceDirectories in Compile +=
  (sourceDirectory in Compile).value / s"scala_${scalaBinaryVersion.value}"

This didn't work with scala.js, so I was forced to write macros that worked in both 2.10 and 2.11. However, this makes the macros under 2.11 slightly less powerful.

Old code (more powerful):

def summon[Ev](c: Context)(ev: c.Tree): c.Tree = ev

New code (2.10 compatible):

def summon[Ev](c: Context)(ev: c.Expr[Ev]): c.Expr[Ev] = ev

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.