mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-11-30 21:21:17 -06: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
|