
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 10/05/14 14:00, Roelof Wobben wrote:
as I see you changed the main function but I have to make the center function work not change the main function. Your center function takes two tuples, but you give it a tuple of two tuples.
(foo, bar) (fu, baz) is not the same as ((foo, bar), (fu, baz)) Do you see this? The latter is one value, a tuple of tuples. The former, which is what your function expects, is two values. Given the function add x y = x+y You are calling it by "add (1, 2)", when you should be calling it simply by "add 1 2". Hope this helped. - -- Alexander alexander@plaimi.net https://secure.plaimi.net/~alexander -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iF4EAREIAAYFAlNuFa0ACgkQRtClrXBQc7WaKgEAqqTU61+Kw/SBbqXMXtW9cY+F Og1VJefDYsBKPxzYf/UA/jmJYe075tinDK7fDGvNSvFu8no/NDx8Sl567lWJ/NFm =r8Ol -----END PGP SIGNATURE-----