On Mon, 2007-09-24 at 17:35 +1000, skaller wrote: > On Sun, 2007-09-23 at 19:59 -0700, Erick Tryzelaar wrote:
So this now works: ////////////////////////////////////// proc flooreach (name:string) (x:string) {println$ name " (name)=" x; } proc flooreach (prompt:string) (x:string) {println$ prompt "(prompt)=" x; } (name="hi") . flooreach "john"; (prompt="bye") . flooreach "erick"; //////////////////////////////////////// BTW: in case of confusion note "A" "B" --> apply of (string * string) ("A","B") which is defined as concatenation, saving 4 + signs .. :) -- John Skaller <skaller at users dot sf dot net> Felix, successor to C++: http://felix.sf.net ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language