
19 Feb
2006
19 Feb
'06
10:57 p.m.
Hi, Am Sonntag, 19. Februar 2006 22:57 schrieb Chatzianastassiou Achilleas:
Hi everybody,
I have written some code for several shapes, and i get a compiling error:
parse error on input `:'
though I can't find where the error is... [snip code]
ever heard of the layout-rule? You must indent the cases for polyArea to exactly the same level as the type-declaration, and all declarations in the let-binding to the same level. Once the indentation is corrected, you get the real error messages -- those you should understand easily. Cheers, Daniel -- "In My Egotistical Opinion, most people's C programs should be indented six feet downward and covered with dirt." -- Blair P. Houghton