module Main where

-- A simple function that calculates the sum of a list of numbers.
sumList :: [Int] -> Int
sumList xs = foldl (+) 0 xs

main :: IO ()
main = do
    let numbers = [1, 2, 3, 4, 5]
    -- Intentional error: 'numers' is misspelled to test error detection.
    print (sumList numbers)

