Sha256: 839fe702eeb4b569ad5c28f012813d1790f2c935319ecabde06cef1918c78638

Contents?: true

Size: 982 Bytes

Versions: 66

Compression:

Stored size: 982 Bytes

Contents

module ListOps
    exposing
        ( append
        , concat
        , filter
        , foldl
        , foldr
        , length
        , map
        , reverse
        )


length : List a -> Int
length list =
    Debug.crash "Please implement this function"


reverse : List a -> List a
reverse list =
    Debug.crash "Please implement this function"


foldl : (a -> b -> b) -> b -> List a -> b
foldl f acc list =
    Debug.crash "Please implement this function"


foldr : (a -> b -> b) -> b -> List a -> b
foldr f acc list =
    Debug.crash "Please implement this function"


map : (a -> b) -> List a -> List b
map f list =
    Debug.crash "Please implement this function"


filter : (a -> Bool) -> List a -> List a
filter f list =
    Debug.crash "Please implement this function"


append : List a -> List a -> List a
append xs ys =
    Debug.crash "Please implement this function"


concat : List (List a) -> List a
concat list =
    Debug.crash "Please implement this function"

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/elm/exercises/list-ops/ListOps.elm
trackler-2.2.1.179 tracks/elm/exercises/list-ops/ListOps.elm
trackler-2.2.1.178 tracks/elm/exercises/list-ops/ListOps.elm
trackler-2.2.1.177 tracks/elm/exercises/list-ops/ListOps.elm
trackler-2.2.1.176 tracks/elm/exercises/list-ops/ListOps.elm
trackler-2.2.1.175 tracks/elm/exercises/list-ops/ListOps.elm
trackler-2.2.1.174 tracks/elm/exercises/list-ops/ListOps.elm
trackler-2.2.1.173 tracks/elm/exercises/list-ops/ListOps.elm
trackler-2.2.1.172 tracks/elm/exercises/list-ops/ListOps.elm
trackler-2.2.1.171 tracks/elm/exercises/list-ops/ListOps.elm
trackler-2.2.1.170 tracks/elm/exercises/list-ops/ListOps.elm
trackler-2.2.1.169 tracks/elm/exercises/list-ops/ListOps.elm
trackler-2.2.1.167 tracks/elm/exercises/list-ops/ListOps.elm
trackler-2.2.1.166 tracks/elm/exercises/list-ops/ListOps.elm
trackler-2.2.1.165 tracks/elm/exercises/list-ops/ListOps.elm
trackler-2.2.1.164 tracks/elm/exercises/list-ops/ListOps.elm
trackler-2.2.1.163 tracks/elm/exercises/list-ops/ListOps.elm
trackler-2.2.1.162 tracks/elm/exercises/list-ops/ListOps.elm
trackler-2.2.1.161 tracks/elm/exercises/list-ops/ListOps.elm
trackler-2.2.1.160 tracks/elm/exercises/list-ops/ListOps.elm