Re: Toolbox typecheck throws MatchError for higher-kinded path-dependent type
Jason Zaugg <[email protected]>
| Newsgroups | gmane.comp.lang.scala |
|---|---|
| Message-ID | <CAG3_yeXL58rsBYPqiu4SqckeiFRLi=_7GBJCo6H2bKugqEGEEA@mail.gmail.com> |
On Thu, Jul 30, 2015 at 9:10 PM Oliver Ruebenacker <[email protected]> wrote: > > Hello, > > Very roughly, how does treatment of code snippets compare among Toolbox, > IMain and the standard REPL (aka Scala Shell)? Thanks! > In the ToolBox, snippets are wrapped in something like: package wrapper$N { object O { def m: Any = { <your code here> }} The REPL (aka IMain) has a more elaborate scheme <https://gist.github.com/retronym/32b02cc453b26dd9314d> to allow you to refer to symbols defined on previous lines. -jason -- You received this message because you are subscribed to the Google Groups "scala-language" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.