Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
d68cc806b1d46579d01e9d1db3900a8e994dd2e7
/
.
/
examples
/
haskell
/
default.hs
blob: 97106284db6383428963042bcd5592567e837b57 [
file
] [
log
] [
blame
] [
raw
]
module
Example
where
sumOverArray
::
[
Int
]
->
Int
sumOverArray
(
x
:
xs
)
=
x
+
sumOverArray xs
sumOverArray
[]
=
0