|
Scala example source code file (a.scala)
The Scala a.scala source code
class A[U] { def f[T] = { class X extends A[T] } }
/*
$ scalac a.scala
$ javac -cp .:$SCALA_HOME/lib/scala-library.jar -Xprint 'A$X$1'
public class X$1 extends A<java.lang.Object> implements scala.ScalaObject {
public X$1(A<U> null);
}
*/
Other Scala examples (source code examples)Here is a short list of links related to this Scala a.scala source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.