stil4m/elm-syntax/7.1.0

NOTE: the latest version is 7.3.9

Elm.Dependency

Elm.Dependency

This module contains types regarding dependencies of a codebase. To gain the most information of a codebase, information of the dependencies may be required. For example, what operators does it define, or what constructors are defined for a custom type.

Types

type alias Dependency =
{ name : String
, version : Version
, interfaces : Dict ModuleName Interface
}

Record that represents a dependency. For example:

{ name = "elm/core"
, version = "1.0.0"
, interfaces = Dict.fromList [ ( "Basics", basicsInterface ), ... ]
}
type alias Version =
String

Alias for a version string. For example "1.2.3".