Export lists in modules

Johannes Waldmann waldmann at imn.htwk-leipzig.de
Fri Feb 24 07:28:28 EST 2006


Simon Peyton-Jones wrote:

> a) compiling recursive groups "all at once"

just for reference,

Sun's java compiler seems to do exactly that, see SEARCHING FOR TYPES in
http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/javac.html

Example: have these mutually dependent classes (each in its own file)

class A { static B foo () { return new B (); } }
class B { static A foo () { return new A (); } }

and you call  "javac A.java" (or the other) then it compiles both.
-- 
-- Johannes Waldmann -- Tel/Fax (0341) 3076 6479/80 --
---- http://www.imn.htwk-leipzig.de/~waldmann/ -------



More information about the Haskell-prime mailing list