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.7.0 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.6.44 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.6.43 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.6.42 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.6.41 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.6.40 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.6.39 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.6.38 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.6.37 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.6.36 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.6.35 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.6.34 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.6.33 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.6.32 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.6.31 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.6.30 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.6.29 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.6.28 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.6.27 tracks/haskell/exercises/list-ops/src/ListOps.hs
trackler-2.0.6.26 tracks/haskell/exercises/list-ops/src/ListOps.hs