[1 of 1] Compiling Main ( prog.hs, prog.o )
prog.hs:1:0: The function `main' is not defined in module `Main'
prog.hs:6:10:
Couldn't match expected type `(Float, Float)'
against inferred type `[a]'
In the pattern: x : xs
In the pattern: [x : xs]
In the definition of `sumTuple':
sumTuple [x : xs] = insideSum x + sumTuple xs