[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:25:
Couldn't match expected type `(Float, Float)'
against inferred type `[a] -> a'
In the first argument of `insideSum', namely `head'
In the first argument of `(+)', namely `insideSum head x'
In the expression: insideSum head x + sumTuple tail x