mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-05-16 11:22:09 -04:00
6 lines
114 B
Haskell
6 lines
114 B
Haskell
module Example where
|
|
|
|
sumOverArray :: [Int] -> Int
|
|
sumOverArray (x:xs) = x + sumOverArray xs
|
|
sumOverArray [] = 0
|