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