Serie: haskell
haskell
4 righe
· Aggiornato 2026-02-03
exercise_2_1.hs
haskell/Week_6_Lab/exercise_2_1.hs
-- Part of Exercise 2.1
-- Define a function that increments and sums elements of nested lists.
sumIncAll :: [[Integer]] -> [Integer]
sumIncAll xss = map (sum . map (+1)) xss
Articoli correlati
haskell
haskell
Aggiornato 2026-02-03
Adding.hs
Adding.hs — haskell source code from the haskell learning materials (haskell/Adding.hs).
Leggi l'articolo →
haskell
haskell
Aggiornato 2026-02-03
Area.hs
Area.hs — haskell source code from the haskell learning materials (haskell/Area.hs).
Leggi l'articolo →
haskell
haskell
Aggiornato 2026-02-03
Chess.hs
Chess.hs — haskell source code from the haskell learning materials (haskell/Chess.hs).
Leggi l'articolo →
haskell
haskell
Aggiornato 2026-02-03
ChessGraphics.hs
ChessGraphics.hs — haskell source code from the haskell learning materials (haskell/ChessGraphics.hs).
Leggi l'articolo →
haskell
haskell
Aggiornato 2026-02-03
Examples.hs
Examples.hs — haskell source code from the haskell learning materials (haskell/Examples.hs).
Leggi l'articolo →
haskell
haskell
Aggiornato 2026-02-03
Fibonacci.hs
Fibonacci.hs — haskell source code from the haskell learning materials (haskell/Fibonacci.hs).
Leggi l'articolo →