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