Morgan-Stanley/morphir-elm/2.0.0

NOTE: the latest version is 3.0.0

Renamed to finos/morphir-elm. It is published under that name, and new versions come out there.

Versions published as Morgan-Stanley/morphir-elm still install under that name. 5 versions of 5 come from the new location (see their notes).

Rerouted (fork, verified). The original repository is gone. This copy comes from a fork that still has the tag. The Lamdera package server serves a copy recovered from https://github.com/maoo/morphir-elm (a fork).

What we checked: Rebuilt with git archive from commit 51e7ceb666e5 of https://github.com/maoo/morphir-elm (a fork) (zip prefix Morgan-Stanley-morphir-elm-c0a167e/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 a573dab6e577d8aa40585d10959c1dccb7b8f000.

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/Morgan-Stanley/morphir-elm/zipball/2.0.0/

Morphir.IR.Module

Modules are groups of types and values that belong together.

type alias Specification a =
{ types : Dict Name (Documented (Specification a))
, values : Dict Name (Specification a)
}

Type that represents a module specification.

type alias Definition a =
{ types :
Dict Name (AccessControlled (Documented (Definition a)))
, values : Dict Name (AccessControlled (Definition a))
}

Type that represents a module definition. It includes types and values.

type alias ModulePath =
Path
definitionToSpecification : Definition a -> Specification a
eraseSpecificationAttributes : Specification a -> Specification ()
mapDefinitionAttributes : (a -> b) -> Definition a -> Definition b
mapSpecificationAttributes : (a -> b) -> Specification a -> Specification b