HepLean Documentation

Lake.Config.FacetConfig

structure Lake.FacetConfig (DataFam : Lake.NameType) (ι : Type) (name : Lake.Name) :

A facet's declarative configuration.

  • build : ιLake.FetchM (DataFam name)

    The facet's build (function).

  • getJob? : Option (DataFam nameLake.BuildJob Unit)

    Does this facet produce an associated asynchronous job?

Instances For
    instance Lake.instInhabitedFacetConfig :
    {a : Lake.NameType} → {a_1 : Type} → {a_2 : Lake.Name} → Inhabited (Lake.FacetConfig a a_1 a_2)
    Equations
    • Lake.instInhabitedFacetConfig = { default := { build := default, getJob? := default } }
    @[reducible, inline]
    abbrev Lake.FacetConfig.name {DataFam : Lake.NameType} {ι : Type} {name : Lake.Name} :
    Lake.FacetConfig DataFam ι nameLake.Name
    Equations
    • x.name = name
    Instances For
      @[inline]
      def Lake.mkFacetConfig {ι : Type} {α : Type} {Fam : Lake.NameType} {facet : Lake.Name} (build : ιLake.FetchM α) [h : Lake.FamilyOut Fam facet α] :
      Lake.FacetConfig Fam ι facet

      A smart constructor for facet configurations that are not known to generate targets.

      Equations
      Instances For
        @[inline]
        def Lake.mkFacetJobConfig {ι : Type} {α : Type} {Fam : Lake.NameType} {facet : Lake.Name} (build : ιLake.FetchM (Lake.BuildJob α)) [h : Lake.FamilyOut Fam facet (Lake.BuildJob α)] :
        Lake.FacetConfig Fam ι facet

        A smart constructor for facet configurations that generate jobs for the CLI.

        Equations
        Instances For
          structure Lake.NamedConfigDecl (β : Lake.NameType u) :

          A dependently typed configuration based on its registered name.

          Instances For
            @[reducible, inline]

            A module facet's declarative configuration.

            Equations
            Instances For
              @[reducible, inline]

              A module facet declaration from a configuration file.

              Equations
              Instances For
                @[reducible, inline]

                A package facet's declarative configuration.

                Equations
                Instances For
                  @[reducible, inline]

                  A package facet declaration from a configuration file.

                  Equations
                  Instances For
                    @[reducible, inline]

                    A library facet's declarative configuration.

                    Equations
                    Instances For
                      @[reducible, inline]

                      A library facet declaration from a configuration file.

                      Equations
                      Instances For