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