QiTASC/hatchinq/9.1.0

NOTE: the latest version is 29.0.0

Rerouted (regenerated, verified). Same repository and tag, but GitHub now builds the zip with different bytes, so it no longer matches the SHA-1 package.elm-lang.org recorded. The Lamdera package server serves a copy recovered from https://github.com/QiTASC/hatchinq.

What we checked: Tag 9.1.0 is still on github.com/QiTASC/hatchinq; its commit f94c6ece65a3 is from 2019-04-04 12:00 UTC, before the version was published (2019-04-04 13:20 UTC); elm.json is byte-identical to package.elm-lang.org's; the exposed modules match docs.json; the zip's SHA-1 is not the published one (GitHub's zip no longer comes out byte for byte the same), so the contents were checked instead.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/QiTASC/hatchinq/zipball/9.1.0/

Hatchinq.List

Exposed

type alias Config item msg =
{ theme : Theme
, lift : Message item msg -> msg
}
type Message item msg
type alias State item =
{ id : Maybe String
, selected : Maybe item
}
type alias View item msg =
{ items : List item
, toPrimaryText : item -> String
, onSelect : Maybe (item -> msg)
, activated : Maybe item
, state : State item
}
Config item msg
-> List (Attribute (InternalConfig item msg))
-> View item msg
-> Element msg
control : (item -> Element msg) -> Attribute (InternalConfig item msg)
imageSrc : (item -> String) -> Attribute (InternalConfig item msg)
init : State item
itemsCount : Int -> Attribute (InternalConfig item msg)
secondaryText : (item -> String) -> Attribute (InternalConfig item msg)
update : Message item msg -> State item -> ( State item, Cmd msg )