Created
April 26, 2019 12:28
-
-
Save NRBPerdijk/c093d7d313727e2f527fc8891f569f59 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This function signature is a lot cleaner than the one that doesn't use bindings. | |
// It is also completely Scala, meaning we do not have to do ANY parsing. | |
val rMagicWithBindings: String => WeatherForecastList = | |
context.eval(sourceWithBindings).as(classOf[String => WeatherForecastList]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment