On Sun, 2006-03-05 at 03:10 +0100, [EMAIL PROTECTED] wrote: > but when compiling it gives me that : > Typing nekoml.Main.compile > nekoml/Main.nml(48): Cannot unify void -> void and void > make: *** [compiler] Erreur 255 > > > 48 is the line where we can see : > if *verbose then printf "Compiling4\n";
Haha! Neko is copying the Felix void trick? Lol. Anyhow the problem is simple: printf "s" is a function accepting no arguments .. to call it you have to supply the no arguments so the resulting call is type void. Try this hack until you get a better answer: printf "Compiling%s4\n" ""; -- John Skaller <skaller at users dot sourceforge dot net> Async PL, Realtime software consultants Checkout Felix: http://felix.sourceforge.net -- Neko : One VM to run them all (http://nekovm.org)
