chars int64 40 24k | content_type stringclasses 9
values | id stringlengths 13 64 | source stringclasses 5
values | subset stringclasses 31
values | text stringlengths 40 24k |
|---|---|---|---|---|---|
773 | lean_file_chunk | 8b17cf117a645c91da9d04726c83fbb27864267867a175f50903a96f2733923b | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Init.Data.ToString.Basic
namespace Lake
/-- Lake configuration language identifier. -/
public inductive ConfigLang
| lean | toml
deriving Repr... |
7,331 | lean_file_chunk | 9872f3a9f57179d2efcc09cd62fc70758189b03e49f15fd18102dc832f1a92ab | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.LeanLib
namespace Lake
open Lean System
/-- A buildable Lean module of a `LeanLib`. -/
public structure Module where
lib : LeanL... |
1,931 | lean_file_chunk | cbab2bbed063b08b7f7624ee55448e9b50b2d3e71f13727b449c6db3a4fcb17b | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Mac Malone
-/
module
prelude
public import Lean.Util.Path
import Init.Data.ToString.Name
import Lean.Data.Name
open Lean (Name)
open System (FilePath)
namespa... |
4,433 | lean_file_chunk | 7bce5a11262c10db72b91ebf3d2f9d94c670ec99d1961a24b4354dcfd35ddf79 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lean.Compiler.NameMangling
public import Lake.Util.Casing
public import Lake.Build.Facets
public import Lake.Config.LeanConfig
public import Lak... |
8,114 | lean_file_chunk | 8a4339b97000ee8e4c5165d3a4ee890877534dfb330ad07bacd465fcc84b210a | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Init.System.FilePath
public import Std.Data.TreeMap.Basic
public import Lean.Data.Name
import Lake.Util.Name
import Init.Data.String.TakeDrop
pu... |
1,635 | lean_file_chunk | 344e97f3b6bf62d473c67b5a2db92aa0c1796855b6af3a480b7638c2103f960e | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lean.Data.NameMap.Basic
open Lean Syntax Parser Command
namespace Lake
public structure ConfigProj (σ : Type u) (α : Type v) where
get (cfg... |
475 | lean_file_chunk | 8d9ae91d92a32ca78d71e2d97974a2bcf9d9bc7b3a1fc8e9ad211dc8022fa743 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Build.Job.Basic
namespace Lake
open Lean System
/-- A external library's declarative configuration. -/
public structure ExternLibConfig (... |
13,407 | lean_file_chunk | 3834f64c4f83bea5d7341141422cd3c33369bdfe98bea30b8fc42f1400776553 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.Workspace
set_option doc.verso true
open System
open Lean (Name NameMap LeanOptions)
/-! # Lake Configuration Monads
Definitions ... |
3,449 | lean_file_chunk | 5e2f7057df357a958dc5984eeaff9227bc602db24cde4a46204da589426c895e | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Build.Trace
open System Lean
namespace Lake
/-- Returns the relative file path used for an artifact in the Lake cache (i.e., `{hash}.{ex... |
7,644 | lean_file_chunk | 92c28a1799d15fa2a34d7be77d3a940de91fefc624577f9a236af9a7a1186fed | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Util.Binder
public import Lake.Config.MetaClasses
public meta import Lake.Util.Binder
public meta import Lean.Parser.Command
public meta im... |
1,785 | lean_file_chunk | 9d2e52076336f15dfbb2bdab508bd48ecd3b855e5337d133329b9eebbe21200f | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.Package
open Lean
namespace Lake
/--
A user-configured target -- its package and its configuration.
This is the general structure... |
1,531 | lean_file_chunk | 4c1cb98dbd979bae590522f949e20586e40ae8965b774bdd62af5a5b3a324732 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.Pattern
public import Lake.Config.MetaClasses
public import Init.Data.ToString.Name
meta import all Lake.Config.Meta
import Lake.Con... |
1,314 | lean_file_chunk | 560303026d99d59d001d726ef801d3f4d21a6d17c30583972a97195b74864e41 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.ConfigTarget
namespace Lake
open Lean System
/-- An input file -- its package plus its configuration. -/
public abbrev InputFile :... |
16,545 | lean_file_chunk | 45b29af2a2b2d7e195d6c5a3e0a729b73b813769ff893762c1003092c1291a30 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.Env
public import Lake.Config.LeanExe
public import Lake.Config.ExternLib
public import Lake.Config.FacetConfig
public import Lake.C... |
2,302 | lean_file_chunk | 840264fa2feef3c83cf6c0703cedde567c228fd7c43ab4008de1f6b58c72a03a | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2017 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Gabriel Ebner, Sebastian Ullrich, Mac Malone
-/
module
prelude
public import Init.Dynamic
public import Init.System.FilePath
public import Lean.Data.NameMap.Basic
import Init.D... |
8,267 | lean_file_chunk | 30c1b44ac11f7b58d4f6d99ce8d1dd2f2474a18684e1cd7c9c8400373ca187c4 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Build.Target.Basic
public import Lake.Config.Dynlib
public import Lake.Config.MetaClasses
public import Init.Data.String.Modify
meta import... |
1,213 | lean_file_chunk | 15fa4a5c3df312fb2c07cf11e2f12b31c0e3da769c65ef589ecd059e2dc37790 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Init.Dynamic
public import Init.System.IO
public import Lake.Util.Exit
public import Lake.Config.Context
namespace Lake
/--
The type of a `Scr... |
1,731 | lean_file_chunk | 32d9854eeb3952ba3a52850480dfe34efbbfbdb89088761c896c95c12e7c7123 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Init.System.FilePath
namespace Lake
open System (FilePath)
/--
The default directory to output Lake-related files
(e.g., build artifacts, pac... |
3,782 | lean_file_chunk | 0e93ffe9ee1919004546852d404e3793118adfdf406cdfc14f2fe6b12869f531 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone, Mario Carneiro
-/
module
prelude
public import Lake.Build.Fetch
namespace Lake
open Lean (Name)
/-- A facet's declarative configuration. -/
public structure FacetConfig (nam... |
5,920 | lean_file_chunk | d6278105d35120d74270e491b9a558f8e375208a752f5a2d758a7493f8832e81 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.Opaque
public import Lake.Config.LeanLibConfig
public import Lake.Config.LeanExeConfig
public import Lake.Config.ExternLibConfig
pub... |
9,152 | lean_file_chunk | 611b0a205f601859851f41639e49fdf72e40f5ef834f9afb801d98a1daf95019 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.ConfigTarget
public import Lake.Util.NativeLib
import Init.Omega
namespace Lake
open Lean System
/-- A Lean library -- its package... |
1,750 | lean_file_chunk | 3bf4314041627f4eb32fea9d582c3e3c8f8b79dbc8a4ba71723dc86c852c8005 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Build.Fetch
meta import all Lake.Util.OpaqueType
import Lake.Util.OpaqueType
open Lean
namespace Lake
/-- A custom target's declarative ... |
1,018 | lean_file_chunk | 2eea51eae87b816cf33c6a7421a61e91bc93544f39cfe0d0bbb30f21ed0734b5 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.OutFormat
open System Lean
namespace Lake
/-- A dynamic/shared library artifact for linking. -/
public structure Dynlib where
/... |
1,311 | lean_file_chunk | 02db419822df7831d143b39da3145d0d9e965c3ad334ba5ecf6c70b50119a1cc | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2026 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.Cache
public import Lake.Config.MetaClasses
meta import Lake.Config.Meta
open System Lean
namespace Lake
public inductive CacheSe... |
14,227 | lean_file_chunk | 3c2c842e4f6e57cc9c629b4a4f1de96ead50901e889d7957bf8c85ec1273b917 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lean.Compiler.FFI
public import Lake.Config.Dynlib
public import Lake.Config.Defaults
public import Lake.Util.NativeLib
import Init.Data.String.... |
626 | lean_file_chunk | cf2b747c0b7ea6046e456eaa42c514afc8cd4e7515e57155dd6b8bbe8eb552b1 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.Defaults
public import Lake.Config.MetaClasses
meta import all Lake.Config.Meta
import Lake.Config.Meta
open System
namespace Lake
... |
5,005 | lean_file_chunk | 85f58b599c17ea617f994c888e31f08fcbaa3bbd8190554776161b0842cb5e58 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.Module
namespace Lake
open Lean System
/-- A Lean executable -- its package plus its configuration. -/
public abbrev LeanExe := Co... |
13,537 | lean_file_chunk | e8e4e31c4c019a25afdc394288f3e76e47acee0c8c61513c465722e68b40b89a | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.Cache
public import Lake.Config.InstallPath
import Init.System.Platform
open System
open Lean hiding SearchPath
/-! # Lake's Envir... |
16,383 | lean_file_chunk | 8f5548ae9e253b2d2763b53ed29cc3d41dedae50fc98c121d0957c069b4874f0 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2017 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Gabriel Ebner, Sebastian Ullrich, Mac Malone
-/
module
prelude
public import Lake.Config.Env
public import Lake.Config.Lang
import Lake.Util.Git
import Lake.Load.Workspace
impo... |
23,961 | lean_file_chunk | b5ce3d4f463a2e034232ac80f78bc3ac725ef976803302b968fa99bc1a52bc5b | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2017 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Gabriel Ebner, Sebastian Ullrich, Mac Malone
-/
module
prelude
public import Init.Data.ToString
import Lake.Version
namespace Lake
public def usage :=
uiVersionString ++ "
U... |
4,356 | lean_file_chunk | 0f463825204926e3655ad953c216e3c9ab987606a7ad703e99a5a156c64501e9 | lean_source_file | lean_toolchain_source_file_chunks | with the package configuration's `moreServerArgs` field and `args`.
"
def helpEnv :=
"Execute a command in Lake's environment
USAGE:
lake env [<cmd>] [<args>...]
Spawns a new process executing `cmd` with the given `args` and with
the environment set based on the detected Lean/Lake installations and
the workspace c... |
4,079 | lean_file_chunk | 390d8bd451fceb191dd434e27587d5f494b303acd946df2f47537304cdf037a7 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.Workspace
import Lake.Build.Run
import Lake.Build.Actions
import Lake.Build.Targets
import Lake.Build.Module
import Lake.Util.Proc
... |
8,421 | lean_file_chunk | cafc0e5dcc1398bb4053b30a3591fbed6533baf7ada64571773e7678fdcd073d | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.CLI.Error
public import Lake.Config.Workspace
import Lake.Build.Infos
import Lake.Build.Job.Monad
public import Lake.Build.Job.Register
imp... |
23,972 | lean_file_chunk | c766c7cfd2a63581e942662b1280cd8ce09088b223817cb544c97df3ba1e2d4f | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2023 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Sebastian Ullrich
-/
module
prelude
public import Lean.Util.Path
import Lean.ExtraModUses
import Lean.Parser.Module
import Init.Data.Range.Polymorphic.Iterators
meta i... |
7,224 | lean_file_chunk | 3c80f671952436211be0b43e53be5c2c12abb6785f7b186535cf9c7f54078adc | lean_source_file | lean_toolchain_source_file_chunks | toAdd := alwaysAdd ++ toAdd
-- Any import which is still not in `deps` was unused
let mut toRemove : Array Import := #[]
for imp in s.mods[i]!.imports do
let j := s.env.getModuleIdx? imp.module |>.get!
let k := NeedsKind.ofImport imp
if args.keepImplied && newTransDeps.has k j then
if args.trac... |
1,243 | lean_file_chunk | 0dec5886fc98268e8573e6b7e22f7f72adbcfc5df18462b27b63d9f9f12a5807 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.Lang
public import Lake.Config.Package
import Lean.PrettyPrinter
import Lake.CLI.Translate.Toml
import Lake.CLI.Translate.Lean
impor... |
3,962 | lean_file_chunk | f0307d67d05ee2120ad65a9fc4bf0078ff1104c0029b38c22d4cbee2baf42f77 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Init.Data.ToString
public import Init.System.FilePath
open Lean (Name)
namespace Lake
public inductive CliError
/- CLI Errors -/
| missingCom... |
3,435 | lean_file_chunk | 99757dd6846effb009ed390fcd7795d3bf689a8c6d74f70a9e7097022bc10052 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Load.Config
public import Lake.Build.Context
public import Lake.Util.Exit
import Lake.Build.Run
import Lake.Build.Module
import Lake.Load.P... |
23,940 | lean_file_chunk | 1ffcecadc5382c53462ae73a69340fe4ba92ebfbe7ff8c79c3881fee3d9b0199 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Util.Exit
public import Lake.Load.Config
public import Lake.CLI.Error
public import Lake.CLI.Shake
import Lake.Version
import Lake.Build.Ru... |
21,932 | lean_file_chunk | e131f329ff686700009eaee4cd86938fd91a6a417d1a3113a893cc60ced8f2f3 | lean_source_file | lean_toolchain_source_file_chunks | artifacts will be uploaded for the most recent commit"
if (← getThe LakeOptions).failLv ≤ .warning then
exit 1
repo.getHeadRevision
private def putCore
(rev : String) (outputs : FilePath) (artDir : FilePath)
(service : CacheService) (scope : CacheServiceScope)
(platform := CachePlatform.none) (toolc... |
3,067 | lean_file_chunk | d86f318d954cb83324d845d5d11c6492fb4236092782c534e73cad66e834e3b8 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Load.Config
public import Lake.Config.Package
import Lake.Util.IO
import Lake.Load.Lean
import Lake.Load.Toml
/-! # Package Loader
This m... |
10,490 | lean_file_chunk | ae7643aaa763092b3896752e8f15665ae071d83870ed2ba9571150cccbb16b26 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone, Gabriel Ebner
-/
module
prelude
public import Lake.Util.Version
public import Lake.Config.Defaults
import Lake.Util.Error
public import Lake.Util.FilePath
import Lake.Util.Jso... |
1,200 | lean_file_chunk | 1b3c8375bea0175787bae48a10b4d5385cb2c6607529e1a914f76b929e099ebc | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.Package
public import Lake.Load.Config
import Lake.Load.Lean.Elab
import Lake.Load.Lean.Eval
/-! # Lean Loader
This module contain... |
19,152 | lean_file_chunk | cf0fb9d15ba8ed8353cccd27225afa7c0169d7c5188bfae9687f54c00a9ee852 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone, Gabriel Ebner
-/
module
prelude
public import Lake.Config.Workspace
public import Lake.Load.Manifest
import Lake.Util.IO
import Lake.Util.StoreInsts
import Lake.Config.Monad
i... |
2,165 | lean_file_chunk | 622bb22c23ab2e636d32d35cdb4d37cc62cb9e5b2d88541183aaaaffdf409d8b | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Load.Config
public import Lake.Config.Workspace
import Lake.Load.Resolve
import Lake.Load.Package
import Lake.Load.Lean.Eval
import Lake.Lo... |
10,165 | lean_file_chunk | d5a5524fc18878068f89e42590840099b294c1db2c1c3cafc155e54d91f1338b | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2017 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Gabriel Ebner, Sebastian Ullrich, Mac Malone
-/
module
prelude
public import Lake.Config.Env
public import Lake.Load.Manifest
public import Lake.Config.Package
import Lake.Util... |
2,621 | lean_file_chunk | c90d26ddaaf26269551f770c6051b129c48aa14acb6ea1569ff621715ebad498 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.Env
public import Lake.Config.LakeConfig
public import Lake.Load.Manifest
set_option doc.verso true
open System Lean
namespace La... |
23,231 | lean_file_chunk | 05e9553c23bd14f5b77e12f2f18b8186a4126b208dc9d1b901136709514e3937 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.Package
public import Lake.Load.Config
public import Lake.Toml.Decode
import Lake.Toml.Load
import Lean.Parser.Extension
import Init... |
3,803 | lean_file_chunk | 1f24b4d8696e1780e7552f06c490752e0433fc745f0965d6efbde54e5b9e390c | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.FacetConfig
public import Lake.Build.Job.Monad
import Lake.Build.Job.Register
import Lake.Build.Common
import Lake.Build.Infos
/-! ... |
4,333 | lean_file_chunk | 8a2a38a54403c4826b8332315cf2bc9248b7ea5e13ae9822f118aa9c6a4e0a42 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Build.Info
public import Lake.Build.Store
public import Lake.Build.Context
public import Lake.Config.Module
public import Lake.Util.EquipT
... |
10,370 | lean_file_chunk | a7733cc8a0481b7211ba7846de45cf99bd64b4947f06fc647cd9d6d5c797ac71 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Build.Key
public import Lake.Util.Family
public import Lake.Config.Dynlib
public import Lake.Config.Kinds
public meta import Lake.Config.Ki... |
10,104 | lean_file_chunk | 5679d3c28d43edfc3f7ba6c0cb80387933061fbcb55892ffce10fc2d12760fd2 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.FacetConfig
public import Lake.Build.Job.Monad
public import Lake.Build.Infos
import Lake.Util.Git
import Lake.Util.Url
import Lake.... |
7,545 | lean_file_chunk | 804145635d231c74eb3b515ec1832b420c9e481461136a1b93b9df8eac7406c0 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.FacetConfig
import Lake.Build.Common
import Lake.Build.Targets
import Lake.Build.Job.Register
import Lake.Build.Target.Fetch
import ... |
3,178 | lean_file_chunk | 1e4150b052bae62e307f69ca30e0e91318bfdd076f2c570fff3c0bfb681537d9 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.Cache
public import Lake.Config.Context
public import Lake.Build.Job.Basic
open System
namespace Lake
/-- Configuration options fo... |
269 | lean_file_chunk | 14a9206765141236e3034d3a77080969fd23db7b2ebebdefa674dde65a9951b7 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Build.Job.Basic
public import Lake.Build.Job.Monad
public import Lake.Build.Job.Register |
23,926 | lean_file_chunk | ed74cfad327c886df6af69c3099a4573bc5d728857d2a8850aec17248322239c | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Ullrich, Mac Malone, Siddharth Bhat
-/
module
prelude
public import Lake.Config.FacetConfig
public import Lake.Build.Job.Monad
public import Lake.Build.Infos
import L... |
23,959 | lean_file_chunk | cece208c6c685956821b6fe7d4aa0bdac37737d80d02a20f9c51942871b8ffc6 | lean_source_file | lean_toolchain_source_file_chunks | (descrs : ModuleOutputDescrs) (service? : Option CacheServiceName) (scope? : Option CacheServiceScope)
: JobM ModuleOutputArtifacts := do
let arts : ModuleOutputArtifacts := {
isModule := descrs.isModule
olean := ← resolve descrs.olean
oleanServer? := ← descrs.oleanServer?.mapM resolve
oleanPrivate? :... |
8,419 | lean_file_chunk | 04ecce6ce5a6770eb9b2783a1a11fc9b25cd00f4b9b14d1045dac2bb70af0245 | lean_source_file | lean_toolchain_source_file_chunks | let libJobs ← mod.fetchImportLibs imps true
let libJobs ← mod.lib.moreLinkLibs.foldlM
(·.push <$> ·.fetchIn mod.pkg) libJobs
let libJobs ← mod.pkg.externLibs.foldlM
(·.push <$> ·.dynlib.fetch) libJobs
return libJobs
buildLeanSharedLib mod.dynlibName mod.dynlibFile objJobs libJobs
mod.weakL... |
2,171 | lean_file_chunk | 598f380ae2ba165a1a8f256511c1c62b79c86a4ee508923131723ab8d57893ca | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.Package
meta import all Lake.Build.Data
/-!
# Build Info
This module defines the Lake build info type and related utilities.
Build... |
2,302 | lean_file_chunk | ae008ffac39cace24aeadf3a2391e353470b13549a86cce052b10d71811096c2 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Build.Fetch
import Lake.Config.Monad
import Lake.Build.Topological
import Lake.Util.StoreInsts
/-!
# The Lake Build Index
The Lake build ... |
908 | lean_file_chunk | cf451af97f30f0bb46d2160c5a7ada3e71d402beb7119f24a63c53814cc00abd | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.FacetConfig
import Lake.Build.Module
import Lake.Build.Package
import Lake.Build.Library
import Lake.Build.Executable
import Lake.Bu... |
14,779 | lean_file_chunk | c9ef5792855ef7edaa40a27b0daabdbb854cc7890c0077bb8819d0b549049350 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone, Gabriel Ebner, Sebastian Ullrich
-/
module
prelude
public import Lake.Config.Workspace
import Lake.Config.Monad
import Lake.Build.Job.Monad
import Lake.Build.Index
import Init... |
7,104 | lean_file_chunk | 30f3c128b5d4561117b334d49247bd41f3b0d496cf7e52bb993b509b18e6f475 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2017 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Gabriel Ebner, Sebastian Ullrich, Mac Malone, Siddharth Bhat
-/
module
prelude
public import Lake.Util.Log
import Lake.Util.Proc
import Lake.Util.FilePath
import Lake.Util.IO
i... |
2,995 | lean_file_chunk | ec19c0061a463f72c7a2870373848a282cafcd9feb8efa0ba1776cc7a121fdcb | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.Artifact
import Lake.Util.JsonObject
open Lean (Json ToJson FromJson)
namespace Lake
/-- The descriptions of the output artifacts... |
9,636 | lean_file_chunk | ed7d9c3dfdda0ce1adca9359d90e58b103cd5b14e30cfd25f1874c896f6e0e91 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Build.Job.Basic
public import Lake.Build.ModuleArtifacts
meta import all Lake.Build.Data
/-!
# Simple Builtin Facet Declarations
This mod... |
1,597 | lean_file_chunk | 05e5518168a2b0cfbe0bdadce20cfdb535adb73e816f2541290c349061c5ce2e | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.FacetConfig
import Lake.Build.Job
import Lake.Build.Common
import Lake.Build.Infos
/-! # Input File Build
Build function definition... |
13,101 | lean_file_chunk | 84b88e5612b313a10a40d4db552cb6f4afd1e4327bb9fa9c5599812b08fc3fd9 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lean.Data.Json
import Init.Data.Nat.Fold
meta import Init.Data.Nat.Fold
import Lake.Util.String
public import Init.Data.String.Search
public imp... |
237 | lean_file_chunk | 4a54f1f115b96b2d4e03fff3ed533371ba19232e1359a37c052d69e4c9e93ab0 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Build.Target.Basic
public import Lake.Build.Target.Fetch |
7,920 | lean_file_chunk | c46c5dd802984d89d3d5fa9c1f1b2c1b0e8d6a70c93d41f6c168512b8a87749c | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Init.Data.Order
import Lake.Util.Name
import Init.Data.String.Search
import Init.Data.Iterators.Consumers
namespace Lake
open Lean (Name)
/-- ... |
4,020 | lean_file_chunk | 0b58f3e961f1b1c4197c99b2108c58ff9414a8eb63206e577cd76c4f3de288e9 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Util.Store
public import Lake.Build.Job.Basic
/-!
# The Lake Build Store
The Lake build store is the map of Lake build keys to build task... |
23,934 | lean_file_chunk | 579fb269626d86f9b86605b086c1021df1dd31008d6f60e4cd93fb00f2100236 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Build.Job.Monad
public import Lake.Config.Monad
public import Lake.Util.JsonObject
public import Lake.Util.IO
public import Lake.Build.Acti... |
13,841 | lean_file_chunk | b89b1d38ee106f8e2ea17ddda58c0524d0f9a5df9ddc2f6f8119e4a99c373116 | lean_source_file | lean_toolchain_source_file_chunks | as hard link to the artifact. If this fails (e.g., because the artifact and path are on differets
drives and/or file systems), falls back to copying the artifact to the new path.
**For internal use.**
-/
public def restoreArtifact (file : FilePath) (art : Artifact) (exe := false) : LogIO Artifact := do
unless (← fil... |
11,551 | lean_file_chunk | 3fd545e8aaf26af788a641ddf92373bf7aa22a71504077992dc67822f6711177 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Build.Info
public import Lake.Config.LeanExe
public import Lake.Config.ExternLib
public import Lake.Config.InputFile
meta import all Lake.B... |
5,358 | lean_file_chunk | dc0b1cef05fa290b33e4e360cbd156fd1fd2ddbfbfdadcbd7401d649a80bc662 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2023 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.Monad
public import Lake.Config.InputFile
import Lake.Build.Infos
/-! # Build Target Fetching
Utilities for fetching package, libra... |
2,688 | lean_file_chunk | 9a2365f7773598efbfac0012c7920c67c015882ff772e42db8a29bdaf7139705 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.FacetConfig
import Lake.Build.Job.Register
import Lake.Build.Target.Fetch
import Lake.Build.Common
import Lake.Build.Infos
namespac... |
4,276 | lean_file_chunk | e3849e21e14acc57b619b176ee434396165219ac9f1738e562d1a14d17510ae6 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Util.Cycle
public import Lake.Util.Store
public import Lake.Util.EquipT
/-!
# Topological / Suspending Recursive Builder
This module defi... |
554 | lean_file_chunk | b3ae80fdd4125a894c3461032af0eb2d11786416c6267e6cfafd2852c21a701f | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lean.Environment
open Lean
namespace Lake
public builtin_initialize nameExt : EnvExtension (Nat × Name) ←
registerEnvExtension (pure ⟨0, .a... |
2,336 | lean_file_chunk | 161365ab01e6c509635c2adf1c36b27c854fa3e9ac3566769ab888474bfd7abe | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.DSL.Syntax
import Lake.Config.Package -- shake: keep (builtin macro output dependency)
import Lake.DSL.Extensions
open Lean Parser Elab C... |
2,226 | lean_file_chunk | 495a06503b424ad750b2b1b1b9f7773e0487a02d75ea599cdec614931ce88759 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.DSL.Syntax
import Lake.Config.Dependency
open Lean Parser Command
namespace Lake.DSL
/-! # The `require` syntax
This module contains th... |
4,959 | lean_file_chunk | b6e243ac8091312b9e9343d9922d1ce397cd3ad9f260f84b015ad01455ede9df | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Util.Binder
public import Lake.Config.MetaClasses
public import Lean.Elab.Command
open Lean Parser Command
namespace Lake.DSL
/-- The na... |
12,324 | lean_file_chunk | 42c7998392a32129f439160277239c3b33ca4b07918c5c46f1bb6e94127ac394 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.DSL.DeclUtil
open Lean Parser Elab Command
/-!
This module defines the syntax of the Lake DSL. The syntax is defined separately from the ... |
1,861 | lean_file_chunk | 0cc33af7c1be53b7d077e3a15c6d7703cbcde49961c5f74847e1fa6b71dd6cf7 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lean.ToExpr
import Lean.Elab.Eval
import Lake.DSL.Syntax
/-!
Syntax for elaboration time control flow.
-/
open Lean Meta Elab Command Term
na... |
725 | lean_file_chunk | 4ab6f5067683f2c36b19eb1a466e54541ce1d68953bc64d1dade417e21b09148 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.DSL.AttributesCore
open Lean
namespace Lake
public builtin_initialize
registerBuiltinAttribute {
ref := by exact decl_... |
1,140 | lean_file_chunk | 9d14ad5b2221fd767753a17cce7c8ebb9d988680b540f3aee1fc3ec5efe9020b | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Init.Prelude
import Lake.Config.Package -- shake: keep (builtin macro output dependency)
import Lake.DSL.Attributes -- shake: keep (builtin ma... |
1,846 | lean_file_chunk | 4e345eca84452cc94995bba855f6c4a0ccfe17069916659f10f5f23ef2b20159 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
import Lake.Build.Key -- shake: keep (builtin macro output dependency)
import Lake.DSL.Syntax
import Lake.Util.Name
/-! # DSL for Build Key
Notation for spe... |
10,428 | lean_file_chunk | e51e13692fa900498a01dd1e55b01c3bf71f897ac91f870b4cb2978e4029b917 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.DSL.Syntax
public import Lake.Config.TargetConfig
public import Lake.Config.FacetConfig
public import Lake.Build.Job.Register
public import... |
2,382 | lean_file_chunk | 93cf4911bae7903d28d955d30f8d0436e4fe6b3d9eee03b3e111784d379b2d7d | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lean.Elab.Term
import Lake.DSL.Extensions
import Lake.DSL.Syntax
import Lake.Util.Name
namespace Lake.DSL
open Lean Elab Term
@[builtin_term_e... |
1,617 | lean_file_chunk | 6dbe2b084154078a934ae7a2ba19d714e28e8b5a1577f0694488397a29661581 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lean.ToExpr
public import Lake.Util.Version
import Lake.DSL.Syntax
import Lean.Meta.Eval
open Lean Elab Term Meta
/-! # Version Literals
Defi... |
3,847 | lean_file_chunk | 3f53d20f195a7d1e55313b4e2feeb1dac4b6cf8403c44d8e3fd7440464796137 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Util.OrderedTagAttribute
open Lean
namespace Lake
public builtin_initialize packageAttr : OrderedTagAttribute ←
registerOrderedTagAttri... |
7,602 | lean_file_chunk | e1e2b21de52bd5c76e2595ea204d02bbb658f75802d40e7605049f8c3c4fcaaa | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Toml.Elab.Value
meta import all Lake.Toml.Grammar
/-!
# TOML Expression Elaboration
Elaborates top-level TOML syntax into a Lean `Toml.Ta... |
9,144 | lean_file_chunk | 6272552aed3ce9730356f43cc1d79b478ef1740c62123c4f8df83f4a6488b508 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Toml.Data.Value
public import Lake.Toml.Grammar
meta import all Lake.Toml.Grammar -- for quotations
/-!
# TOML Value Elaboration
Elaborat... |
4,546 | lean_file_chunk | 042a91d5485a485ca58f50c3967dd44642f019bd8f8000073d97575f7113484a | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lean.Data.NameMap.Basic
import Init.Data.Nat.Fold
/-! # Red-Black Dictionary
Defines an **insertion-ordered** key-value mapping backed by an r... |
4,215 | lean_file_chunk | 43f3486d5b552024c4a86dfb501e5ad5ec51d4f4b0a50ea906e205eb2ce3c724 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Util.Date
import Lake.Util.String
import Init.Data.String.Search
import Init.Data.Iterators.Consumers.Collect
import Init.Data.Iterators.Co... |
4,209 | lean_file_chunk | db7a375a6e9f6fc9ce05b61e7d2ff3e173252f3095809e19152194127309fd12 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Init.Data.Float
public import Lake.Toml.Data.Dict
public import Lake.Toml.Data.DateTime
import Lake.Util.String
import Init.Data.String.TakeDrop... |
13,738 | lean_file_chunk | c3b8c2950297a28706da5be250cb65861f88658a6e1783b300e1216c519ac29a | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.Package
import Lake.DSL.Syntax
meta import Lean.Parser.Module
meta import Lake.Config.LeanLibConfig
meta import Lake.Config.LeanExeC... |
7,337 | lean_file_chunk | a6a540f9e902acb6e79f4640f0ed266448d075e44f1f51ec718cecb5021831dc | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Toml.Encode
public import Lake.Config.Package
meta import Lake.Config.LeanLibConfig
meta import Lake.Config.LeanExeConfig
meta import Lake.... |
8,109 | lean_file_chunk | 3123031f536d067b5fce6b4b8f7490eebee95a6acb7f728998eb64559b63f47d | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Config.Workspace
import Lean.DocString
import Lake.DSL.AttributesCore
/-! # Lean Configuration Evaluator
This module contains the definit... |
11,796 | lean_file_chunk | 91845c847827aa338140c3699c838fd2d3ffefec896038eefb3d4908a2b574a7 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Load.Config
import Lean.Compiler.IR.CompilerM
import Lean.Elab.Frontend
import Lake.DSL.Extensions
import Lake.Util.JsonObject
import Init.... |
6,627 | lean_file_chunk | 5bf5d29666ea4c836e9fb07fdf7ff9439e148cb87d668941fb2b1edeaabec4b6 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
import Lake.Build.Infos
public import Lake.Build.Job.Monad
import Lake.Config.Monad
import all Lake.Build.Key
open Lean
namespace Lake
variable (defaultPkg... |
1,037 | lean_file_chunk | c358d14f5090d038f169919f941554952283cc91f2ea8055e7e26fc6bc892ba3 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
module
prelude
public import Lake.Build.Key
/-!
# Lake Targets
This module contains the declarative definition of a `Target`.
-/
open Std
namespace Lake
/-- A Lake targ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.