
8 Aug
2011
8 Aug
'11
10:36 a.m.
Roelof Wobben
I think you mean something like this :
2 ^ 3 = = 2 * 2 ^ 2 = 2 * 2 * 2 ^1 = 2 * 2 * 2 * 2 ^ 0 = 2 * 2 * 2 * 1 = 2 * 2 * 2 = 4 * 2 = 8
Yes, but that's not a rule system. Try to come up with a rule system to express exponentiation. You need two rules for the algorithm you want to implement. Greets, Ertugrul -- nightmare = unsafePerformIO (getWrongWife >>= sex) http://ertes.de/