Sha256: 71afb1135da1804e2095290317a02808b64575116ebc154dc53fa067e6a20703

Contents?: true

Size: 865 Bytes

Versions: 54

Compression:

Stored size: 865 Bytes

Contents

module ListOps
  ( length
  , reverse
  , map
  , filter
  , foldr
  , foldl'
  , (++)
  , concat
  ) where

import Prelude hiding
  ( length, reverse, map, filter, foldr, (++), concat )

foldl' :: (b -> a -> b) -> b -> [a] -> b
foldl' = error "You need to implement this function."

foldr :: (a -> b -> b) -> b -> [a] -> b
foldr = error "You need to implement this function."

length :: [a] -> Int
length = error "You need to implement this function."

reverse :: [a] -> [a]
reverse = error "You need to implement this function."

map :: (a -> b) -> [a] -> [b]
map = error "You need to implement this function."

filter :: (a -> Bool) -> [a] -> [a]
filter = error "You need to implement this function."

(++) :: [a] -> [a] -> [a]
xs ++ ys = error "You need to implement this function."

concat :: [[a]] -> [a]
concat = error "You need to implement this function."

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
trackler-2.0.8.20 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.8.19 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.8.18 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.8.17 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.8.16 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.8.15 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.8.14 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.8.13 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.8.12 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.8.11 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.8.10 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.8.9 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.8.8 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.8.7 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.8.6 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.8.5 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.8.4 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.8.3 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.8.2 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.8.1 tracks/haskell/exercises/list-ops/src/ListOps.hs