Renamed to elm-messenger/messenger-core. That is where the repository lives now. It has not been published as a package under the new name.
Versions published as linsyking/messenger-core still install under that name. 34 versions of 52 come from the new location (see their notes). 7 versions could not be recovered and cannot be installed.
Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/elm-messenger/messenger-core.
What we checked: The repo moved to github.com/elm-messenger/messenger-core. Rebuilt with git archive from commit 18637912a4af of https://github.com/elm-messenger/messenger-core (zip prefix linsyking-messenger-core-28ad96e/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 5e2ed7e5d758c4d7a51700fcce261b4e40642036.
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/linsyking/messenger-core/zipball/8.2.2/
Gerneral Model and Helper functions for Layers.
Abstract Layer Model.
Cannot be directedly modified. Used for storage.
Generate abstract layer by a concrete layer.
Initialize it with env and msg.
Basic Update Type
A basic updater type used to update the basic data of the layer with event.
Users can use it as the first step of the update process
Distributor Type
A distributor is used to generate several list of Component Msgs for corresponding components list.
The cmsgpacker is a custom type to store the component msgs and their targets.
Handler Type
A handler is used to handle the Component Msg sent to the layer.
Make handler for every type of component msg
Handle a list of component msgs
Note that for several list of component msgs with different types, you may have to use this function repeatedly
init type sugar
update type sugar
updaterec type sugar
view type sugar
Layer Storage
Concrete Layer Model
Users deal with the fields in concrete model.