21 Jan
2010
21 Jan
'10
10:44 p.m.
On Thu, Jan 21, 2010 at 2:02 PM, Zbigniew Stanasiuk
Hi all,
I've just started learning Haskell and I have no idea how to nest function in following structure: Mod(5*Mod(4*Mod(3*Mod(2*Mod(1, m), m), m), m), m) ... etc. Could someone help me.
I don't quite understand what you mean by "nest function". 'Mod' looks like a constructor in your code, but I somehow get the feeling that you actually indend 'Mod' to be a function... /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe