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
1,562
lean_file_chunk
2d1dfac7e0ac7edfe0cd8ceec975fee18434393ab8aa455baef4c6a0d6c8ce98
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2026 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Init.Data.Vector.Basic public import Std.Data.Iterators.Producers.Monadic.Array set_option doc.verso true /-! # Vector iterator This mo...
1,610
lean_file_chunk
cdcdd9fba97668ae54f3ef0f6b28d8ab85882c282261c88fd6eeb8bbe4b9a547
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Init.Data.Iterators.Consumers.Loop @[expose] public section /-! This file provides an empty iterator. -/ namespace Std variable {m : T...
3,711
lean_file_chunk
25f5326741003b0f66d3d0040994c5b41c447a72a38a3ddb1098e5fc2d628798
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Init.Data.Iterators.Consumers import Init.Omega @[expose] public section /-! # Array iterator This module provides an iterator for arra...
13,112
lean_file_chunk
700363c5c83a62a6924bfcff8c141d3e5f90119742495ee495b6940a615274b7
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Init.Data.Option.Lemmas public import Init.Data.Iterators.Consumers.Loop @[expose] public section /-! # Monadic `zip` combinator This ...
5,245
lean_file_chunk
4864eb5659e64d63b8d7f849d0e9be8fc34d42138905675406235f0d3f3ba8fc
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Init.Data.Iterators.Consumers.Monadic.Access public import Init.Data.Iterators.Consumers.Monadic.Collect public import Init.Data.Iterators...
5,631
lean_file_chunk
c1aca5d072726cba1a6399581f0feebb794fd6a94fedb110ff27b156ffc17ad0
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Init.Data.Iterators.Consumers.Loop @[expose] public section /-! This file provides the iterator combinator `IterM.drop`. -/ namespace S...
9,196
lean_file_chunk
c3f4b5c48b4cc9989ff31260f6258cff04eca4327dbc830640fc133aade30895
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Init.Data.Nat.Lemmas public import Init.Data.Iterators.Consumers.Monadic.Collect public import Init.Data.Iterators.Consumers.Monadic.Loop ...
11,408
lean_file_chunk
c223006c78d01d9043fd9012c202a129d34bec490d3c57954719035e07a09328
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Init.Data.Nat.Lemmas public import Init.Data.Iterators.Consumers.Monadic.Collect public import Init.Data.Iterators.Consumers.Monadic.Loop ...
5,208
lean_file_chunk
0df05021ea04418dfad3e174d278bccb2ed070980b923debc7021a8993270e24
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2026 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ module prelude public import Init.Data.Iterators.Consumers.Monadic.Loop public import Std.Data.HashSet.Basic public import Std.Data.ExtHashSet.Basic public import Std....
1,987
lean_file_chunk
0bcf4b9471c3acd58a5380050eebc50b76d036923d4f113aa734469bd4de820c
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Std.Data.Iterators.Producers.Repeat public import Init.Data.Iterators.Lemmas.Combinators.Take import Init.Data.Iterators.Lemmas.Consumers....
423
lean_file_chunk
53aef7f908bd2e6d8becbea5ca65ef0ab2923e5e7efcf666d60a0d63d0a7f1c5
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Std.Data.Iterators.Lemmas.Producers.Monadic.Array public import Std.Data.Iterators.Lemmas.Producers.Monadic.Vector public import Std.Data....
5,271
lean_file_chunk
aaf54803f43fed1bea80a392c12834d56e6398be89c4c31e6d9da68c704bebda
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Std.Data.Iterators.Lemmas.Producers.Array public import Std.Data.Iterators.Producers.Vector public import Std.Data.Iterators.Producers.Mon...
1,467
lean_file_chunk
ab73f3cb66ec16810e2510b7d28423f8064a2cb95f761dae9383e1190bb96178
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Std.Data.Iterators.Lemmas.Producers.Monadic.Empty public import Init.Data.Iterators.Lemmas.Consumers public import Std.Data.Iterators.Prod...
13,137
lean_file_chunk
aa26d55307d7868ae5354896e3cff5f616704daeeac774f91ac7a8984229eec9
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Std.Data.Iterators.Producers.Range import Init.Data.Range.Polymorphic.Lemmas public import Init.Data.Iterators.Consumers.Loop import Init....
3,771
lean_file_chunk
94690fcc62a64cae2fd550cef334869c3bffb2132081cd08ffcac18d5e800791
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Std.Data.Iterators.Lemmas.Consumers.Collect import Std.Data.Iterators.Lemmas.Consumers.Loop import Init.Data.List.TakeDrop public import S...
4,275
lean_file_chunk
f7023b3e809ccfd4061baef8bfdf4b9aead3d288b5dd6493192346e3a4d8c1f0
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Std.Data.Iterators.Producers.Slice import all Std.Data.Iterators.Producers.Slice public import Init.Data.Slice.Lemmas import Init.Data.Sli...
14,842
lean_file_chunk
9d6ed1a5d2cbe8c25bdfbbc892821b9b44c5e83b301517cfb8c11b201117a7ac
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Std.Data.Iterators.Combinators.Zip public import Std.Data.Iterators.Lemmas.Combinators.Monadic.Zip public import Init.Data.Iterators.Lemma...
2,625
lean_file_chunk
1bcd9f4de81b927a1e685542d84ec1fbbe1b28867e311660462887c0b12f32f6
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Std.Data.Iterators.Combinators.Drop public import Std.Data.Iterators.Lemmas.Combinators.Monadic.Drop public import Init.Data.Iterators.Lem...
506
lean_file_chunk
fc363414f1d6d0f42bae15255bca63d23f6d137e05189c31d3c944b98c656ac5
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Std.Data.Iterators.Lemmas.Combinators.Monadic.TakeWhile public import Std.Data.Iterators.Lemmas.Combinators.Monadic.Drop public import Std...
5,178
lean_file_chunk
95543c4679df36f9e3c417925546c7a6b1d2ef0ff2ad509477a5db22b01f2db3
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Std.Data.Iterators.Combinators.TakeWhile public import Std.Data.Iterators.Lemmas.Combinators.Monadic.TakeWhile public import Std.Data.Iter...
5,599
lean_file_chunk
61a5ec6c708847e5c962981712abf6bff352e17239a34afc426c779d856e94ae
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Std.Data.Iterators.Combinators.DropWhile public import Std.Data.Iterators.Lemmas.Combinators.Monadic.DropWhile public import Init.Data.Ite...
1,197
lean_file_chunk
c21fbddfd868fd5e3b050a7a332aa83d8762a2530232be0a06e82278ca4bb7fa
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Init.Data.Iterators.Lemmas.Consumers.Collect public import Std.Data.Iterators.Lemmas.Consumers.Monadic.Collect @[expose] public section ...
358
lean_file_chunk
c8c51800a3e3ccf3a246704982fb3b9e4c249ca435685db9c566660fba16803a
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Std.Data.Iterators.Lemmas.Consumers.Monadic.Collect public import Std.Data.Iterators.Lemmas.Consumers.Monadic.Loop public import Std.Data....
2,166
lean_file_chunk
ad320895d04e21055215fb9d9a6d8940b61d84cd6a548393807e7c5945313884
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Init.Data.Iterators.Lemmas.Consumers.Loop public import Std.Data.Iterators.Lemmas.Consumers.Collect public import Std.Data.Iterators.Lemma...
2,022
lean_file_chunk
1f14fddab3a88be16e939888cfe0f1fb707875692e015507e8611cf050c9e19d
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2026 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ module prelude public import Std.Data.Iterators.Consumers.Set public import Init.Data.Iterators.Consumers.Collect import all Std.Data.Iterators.Consumers.Set import St...
11,008
lean_file_chunk
5d37782907b7a506bf368baa3bb9dd2dc5274a7d71c7b21d39877045233401e5
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Std.Data.Iterators.Lemmas.Equivalence.Basic @[expose] public section /-! This module proves that the step functions of equivalent iterat...
12,021
lean_file_chunk
9922c4feee2e32a3985ec30191334a07fe720fef19eef5d9c5153a1000bdc20f
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Init.Internal.Order public import Init.Data.Iterators.Basic public import Std.Data.Iterators.Lemmas.Equivalence.HetT @[expose] public sec...
19,754
lean_file_chunk
65749e817541362a6e0a86a7d981e16e5d9e205d4ea51c8e48bf9c9d1c34b95d
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Init.Data.Iterators.Internal.LawfulMonadLiftFunction public import Init.Data.Iterators.PostconditionMonad public import Init.Classical @[...
1,326
lean_file_chunk
de5522d6280c698db78b9046f1d1d7e20ee9a265f964e589096da9196853ef41
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Init.Data.Iterators.Lemmas.Producers.Monadic.List public import Std.Data.Iterators.Lemmas.Equivalence.Basic namespace Std open Std.Inter...
5,472
lean_file_chunk
b6ef79147610eda9172d040fbccf5cb528dbbe38a86713e8d5b74d2af8045956
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Std.Data.Iterators.Lemmas.Producers.Monadic.Array public import Std.Data.Iterators.Producers.Monadic.Vector public import Std.Data.Iterato...
1,774
lean_file_chunk
29d5b4f33ea1303ac1c6df2ed2d3153936dab730f767c71c885b751cef196636
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Std.Data.Iterators.Producers.Monadic.Empty public import Init.Data.Iterators.Lemmas.Consumers.Monadic @[expose] public section namespace...
6,086
lean_file_chunk
a60afe0b35a8c1597c79d9d49c77314f6f7089320c20a7ce4621296ee4d54ca1
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Std.Data.Iterators.Producers.Monadic.Array public import Std.Data.Iterators.Lemmas.Consumers.Monadic public import Std.Data.Iterators.Lemm...
3,341
lean_file_chunk
c82ec13a9b3768cda615e5a9f053e51ec1bfd26c70804135b5edf2e300bdde43
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Std.Data.Iterators.Combinators.Monadic.Zip public import Init.Data.Iterators.Lemmas.Consumers.Monadic @[expose] public section namespace...
1,054
lean_file_chunk
19bc6c27d3ce328d64342655faa737d8cd8a92bf3028d49da293b3cff1890b37
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Std.Data.Iterators.Combinators.Monadic.Drop public import Init.Data.Iterators.Lemmas.Consumers.Monadic @[expose] public section namespac...
2,920
lean_file_chunk
16c1fa12733883ebe19c8c4fd2dd014738f9430ed14b6a21ae2c7e813f351cef
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Std.Data.Iterators.Combinators.Monadic.TakeWhile public import Std.Data.Iterators.Lemmas.Consumers.Monadic @[expose] public section name...
8,769
lean_file_chunk
2a46b8362148e4a34aa3fc4a3ce3139c4cef517422b7911d03d46912aaca2806
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Init.Data.Iterators.Lemmas.Combinators.Monadic.FilterMap public import Std.Data.Iterators.Lemmas.Equivalence.StepCongr @[expose] public s...
7,820
lean_file_chunk
7e653f4d916e942d0f5da42d54f8ce6de4e20fb1bb1871968f17a367e72c5567
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Std.Data.Iterators.Combinators.Monadic.DropWhile public import Init.Data.Iterators.Lemmas.Consumers.Monadic import Init.Data.Bool @[expos...
2,148
lean_file_chunk
76c7094eb37d47d05bcf0bad04ffbe98e6f822a46c81f61e5b7b6d75254d0bbb
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Init.Data.Iterators.Lemmas.Consumers.Monadic.Collect public import Std.Data.Iterators.Lemmas.Equivalence.StepCongr import Init.Data.Iterat...
3,464
lean_file_chunk
b2a9230ae96b390b63db15306e2ca8eafd520b0ed209b202d27da2e1bb48e4d6
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul Reichert -/ module prelude public import Init.Data.Iterators.Lemmas.Consumers.Monadic.Loop public import Std.Data.Iterators.Lemmas.Consumers.Monadic.Collect import Init.Data.Itera...
1,849
lean_file_chunk
e1b74519677cf22e9b112880620558f50be9f9985ca8b73b03d9a655c570ba60
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2026 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ module prelude public import Std.Data.Iterators.Consumers.Monadic.Set public import Init.Data.Iterators.Consumers.Monadic.Collect import all Std.Data.Iterators.Consume...
1,187
lean_file_chunk
a067125ff95ce6a78103fb43b609096f401b2aea6d71c9b0b81e9a18f6741552
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.Util.Casing public import Lake.Util.Cli public import Lake.Util.Cycle public import Lake.Util.Date public im...
485
lean_file_chunk
8d0a197c2c59a04ea364be7afc584ef1bececff3a551ed6c3bd313384fc5ef93
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.Load.Lean public import Lake.Load.Lean.Elab public import Lake.Load.Lean.Eval public import Lake.Load.Manife...
976
lean_file_chunk
cd396f33e362fed53d1877cdf2b55638c7a28518aa9c677bd1410a760c7ee8c2
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.Actions public import Lake.Build.Common public import Lake.Build.Context public import Lake.Build.Data public import Lake.Build.Execu...
926
lean_file_chunk
6b54fdbff4589ccae14c62dcd0e3fd9cfa9b7529a75fda4e6e88d1248f5e7b8e
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 Init.Data.ToString import Init.Data.String.TakeDrop namespace Lake public def version.major : Nat := 5 public def version....
499
lean_file_chunk
887c6fa39ed68434a46307e824db367bb5a1ff0a3410f3d2906f3dd305f8be44
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.Attributes public import Lake.DSL.Config public import Lake.DSL.DeclUtil public import Lake.DSL.Extensions public import Lake.DSL.Key p...
1,411
lean_file_chunk
4a6b493d07099cb6e5be6963e338971bf7774e4be1f2019dfae9abdd2d590c2c
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.Artifact public import Lake.Config.Cache public import Lake.Config.ConfigDecl public import Lake.Config.ConfigTarget public import L...
501
lean_file_chunk
ee106b9850b63b7c3a7f4d41e8e71ea6562faea0f6bec3896c8f4023a371b5d6
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.Actions public import Lake.CLI.Build public import Lake.CLI.Error public import Lake.CLI.Help public import Lake.CLI.Init public import...
5,826
lean_file_chunk
099f5855e959b1033851e30d3763bdcb1b175b2aae141482ab29018d41d1b348
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 import Init.Control.Do public import Lake.Util.JsonObject public import Lake.Util.Version public import Lake.Config.Env public import Lake.Util.Reservoir impo...
377
lean_file_chunk
8f6c796acf1990bc7bd2b1f605774819ce956c0747176e85bf3ad4be73098173
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 public import Lake.Toml.Decode public import Lake.Toml.Elab public import Lake.Toml.Encode public import Lake.Toml.Grammar public...
294
lean_file_chunk
7dae564201f9edcfae8a8b4636ad3baaa6106750155abb368b2ac4a7bac707c4
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.DateTime public import Lake.Toml.Data.Dict public import Lake.Toml.Data.Value /-! # TOML Data Types -/
21,812
lean_file_chunk
2bcbcc067264e3aae1b6d0b0a9dbfd0560ca7baf737a98a8b26930bfa3763a49
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 import Lake.Toml.ParserUtil import Lean.Parser public import Lean.PrettyPrinter.Formatter public import Lean.PrettyPrinter.Parenthesizer /-! # TOML Grammar ...
1,324
lean_file_chunk
e14436c3ea0f1008418cf1e60d4f9710da1e482b8e22603a48a57fd9a76c278f
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.Parser.Types public import Lake.Toml.Data.Value import Lake.Toml.Elab import Lake.Util.Message import Std.Do open Lean Parser namespace L...
3,742
lean_file_chunk
a1e47a40c6965dee63c31c0d643a23814f82ab922d28efafcf48867d7a671be5
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.FilePath public import Lake.Toml.Data.Value /-! # TOML Encoders This module contains definitions to assist in encoding Lean types in...
373
lean_file_chunk
748e3fb4090377e7e743f4843219c42d1174e0fdc47adff7555f9a2e13d6714a
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 public import Lake.Toml.Elab.Expression /-! # TOML Elaboration Elaborates TOML syntax into Lean data types. At top-level,...
10,729
lean_file_chunk
17129dca8daaf47de5b069125d488fdfc5399363b05ebf73edfda789cc2fbc85
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.PrettyPrinter.Formatter public import Lean.PrettyPrinter.Parenthesizer import Lean.Parser /-! # TOML Parser Utilities Generic parser util...
7,646
lean_file_chunk
27bdafb7b9b998d9a043869425557d245f768106fa2b5576db806640b9454c2d
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.System.FilePath public import Lake.Toml.Data import Init.Data.ToString.Macro open Lean /-! # TOML Decoders This module contains definiti...
6,566
lean_file_chunk
59c2b7e3826d8572ddbfb8662a168c123b84ca74f96162bd51029441da0dec44
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 meta import Init.Data.ToString.Name import Init.Data.ToString public import Init.Notation /-! # Open Type Families in Lean This module contains utili...
1,637
lean_file_chunk
ac4dc5fdc3a66bf45fb2f0bec0dc07c671d146dde41c2fc3653bc82672e87c74
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 public import Lean.Data.NameMap.Basic public import Lake.Util.RBArray public import Lake.Util.Family public import Lake.Util.Sto...
893
lean_file_chunk
58e3425055ba15fe241f706768eeb94a331eedc37980e327f81c89d51023f581
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 import Init.Data.String.Basic import Init.Data.Nat.Fold namespace Lake public def lpad (s : String) (c : Char) (len :...
1,249
lean_file_chunk
de1a9e43404cc8bd09d14ada00bf74a43de0e41568d29cc3cb0ca28bd21a1adc
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.Prelude import Init.Tactics private opaque POpaque.nonemptyType.{u} : NonemptyType.{u} /-- An value of unknown type in a specific univers...
5,164
lean_file_chunk
b2f2e1fe2eebfbe27af71fa5370b8731fb936dd81cdc601fc8c1366ad3e5eb15
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.Log import Lake.Util.JsonObject import Lake.Util.Proc import Init.Data.String.TakeDrop import Init.Data.String.Search import Init.Tact...
2,323
lean_file_chunk
ae6a8e1883806541b17bfe3a2a3e472e421ce9a65d854fe75355fdbd2b49ac5e
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 -- shake: keep-all prelude public meta import Lake.Util.Binder public import Init.Prelude /-! This module provides utilities for defining simple opaque types for for...
2,941
lean_file_chunk
9944d40a6299db808798edc7be6c6907e9ef7ba20deb098cae51df00942d5f40
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.System.IO open System set_option doc.verso true namespace Lake /-- Creates any missing parent directories of {lean}`path`. -/ public de...
2,919
lean_file_chunk
38e46e990ad9abb38010f75f7f5e5e29a304419ff72f5bad412abe7ee6251452
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.Log public import Lake.Util.Exit namespace Lake /-- The monad in Lake for `main`-like functions. Supports IO, logging, and `exit`. -...
6,521
lean_file_chunk
8959b0c7c97e76ed74bf42391914ab94eeb16cc37f83630affbd8f6193f4ae84
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.Parser.Term meta import Lean.Parser.Term namespace Lake open Lean Parser public abbrev Ellipsis := TSyntax ``Term.ellipsis public abbrev ...
2,639
lean_file_chunk
40052d570f2b77aa373c0bb60a0985b15a3083daf4d58f64bf831b6328bb84a2
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2022 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.Util.Log import Init.Data.String.TakeDrop namespace Lake public def mkCmdLog (args : IO.Proc...
5,464
lean_file_chunk
57d4afc0057ef97f480993e6f9930fcee19e6b898559d6d6c1c4d22dea6e4d83
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 public import Lake.Util.Proc import Init.Data.String.TakeDrop import Init.Data.S...
2,006
lean_file_chunk
052099c2f0e1266d291b5295724a8f42e002c285be2e78a1ecf79a539f16e971
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ module prelude public import Lean.Attributes open Lean namespace Lake public structure OrderedTagAttribute where attr : AttributeImpl ext : PersistentEn...
2,309
lean_file_chunk
07267ae8a6f213c52528b07dcb688c9aa6e9bac7515572668b7b50555df4ded9
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 Std.Data.HashSet.Basic open Lean namespace Lake /-- A `HashSet` that preserves insertion order. -/ public structure OrdHashSet (α) [Hashable ...
2,145
lean_file_chunk
3df11032308bee247570fe60099027a6337355d517262824bb5e82049ef90cfd
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.Parser.Basic open Lean Parser namespace Lake public def mkParserErrorMessage (ictx : InputContext) (s : ParserState) (e : Parser.Error) ...
9,363
lean_file_chunk
63bc243197c5959048fdb4bdf7cdd7f31a303ac0b7616d23a9d752c2a9d47750
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, Leonardo de Moura, Mario Carneiro -/ module prelude public import Init.Control.State namespace Lake /-- `EResult ε σ α` is equivalent to `Except ε α × σ`, but using a single...
721
lean_file_chunk
8411269e35629a75e76ec3a338a9eb9ecf2349e7ed6bf9dff506d9313fe028f3
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.Notation import Init.Data.UInt.BasicAux namespace Lake /-- A process exit / return code. -/ public abbrev ExitCode := UInt32 public clas...
2,071
lean_file_chunk
6917f16a22394481f21183786bdee6def3264f13cc53f95bc7779d7b94e6b30c
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.Ord.Basic public import Lean.Data.Json import Lake.Util.String import Init.Data.String.Search import Init.Data.Iterators.Consumers.Col...
1,203
lean_file_chunk
0209a3db1f2b2a471ac0ebab554cd7fc5e6020c9bd993a903ab9b229252a626b
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.System.IO namespace Lake public class MonadError (m : Type u → Type v) where error {α : Type u} : String → m α export MonadError (erro...
20,543
lean_file_chunk
b90967d4a3bc188496726347a15cda53204d35b74fc863fe614721fb23636b3b
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.Json public import Lake.Util.Date public import Init.Control.Do import Init.Data.String.TakeDrop import Lean.Data.Trie import Init.Dat...
2,496
lean_file_chunk
fc9807db15a1d34c81718c3d8f225a42b517d3017b4caabeab66a80c82e1c2b0
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 Std.Data.TreeMap.Basic namespace Lake /-- There are two ways to think of this type: * As an `Array` of values with a `Std.TreeMap` key-value i...
2,017
lean_file_chunk
6c50f84e2a359c1e9c52e86fd270c3d17a671a0f951175612c44b59a159bc8a6
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 Init.System.IO import Init.Data.ToString.Macro /-! # Lock File Utilities This module defines utilities to us...
3,308
lean_file_chunk
3b61b7ac11740c782635d0b4bb409ca72ced7cfcf812f16ab634e00ebdfe46cf
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.Control.Except namespace Lake /-- A monad transformer that equips a monad with a value. This is a generalization of `ReaderT` where the v...
1,734
lean_file_chunk
09997f08bbd08a47a9d18ec7a29ded5bd9250420525dfaa1ed3c47cf01e7df18
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.Prelude namespace Lake /-- A monad equipped with a dependently typed key-value store for a particular key. -/ public class MonadStore1Of ...
760
lean_file_chunk
166c2885aa1fcfc2fda8d294f75070340e13da1832cc5cabee78c6a5a7dfa375
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.Control.Option public import Init.Control.Except namespace Lake public instance : Monad Task where map := Task.map pure := Task.pure ...
2,624
lean_file_chunk
ef0b47ddbe6505b6fd6d0b4c3ec1ab9667b443c0ea90382043f962d71b9f87ff
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.Json import Init.Data.String.TakeDrop import Init.Data.String.Modify import Init.System.Platform open System Lean namespace Lake /-...
3,432
lean_file_chunk
f492c317d02b492c809f3433007a68610a44da80fd146bddde14efd02d6f7bf2
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.Data.Json public import Lake.Util.RBArray import Init.Data.Ord.UInt import all Init.Prelude import all Lean.Data.Name open Lean namespace...
1,815
lean_file_chunk
6651471175441d5f3dc1d330803f6968ac36240208676c18ce59bfbc7f4afa22
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.IO namespace Lake public instance (priority := low) [Monad m] [MonadExceptOf PUnit m] : Alternative m where failure := throw () ...
22,231
lean_file_chunk
73aa122d9477d6306553a7c1d44e10921a9993f3553f573e3c822485ae6cb4c5
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 public import Lake.Util.Error public import Lake.Util.EStateT public import Lean.Message public import Lake.Util.Lift import Init...
6,591
lean_file_chunk
e5b0ab69a3c8bdb766c1a4dd142c51bfb17687cbc2c407500bdbacbd48234bdd
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.Data.String.TakeDrop public import Init.Data.String.Search namespace Lake /-! Defines the abstract CLI interface for Lake. -/ /-! # Type...
1,528
lean_file_chunk
164de241d802a914e3de12df493378aa1382ef9a199b1239d4d30e955c8f3d7f
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.IO import Init.Data.ToString.Macro import Init.System.Platform open System namespace Lake /-- The shared library file extension fo...
1,074
lean_file_chunk
41f2b78cbf0bfe5b6dda9e8be031779cd903b06c334415492836417ac6d71735
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.JsonObject open Lean namespace Lake public def Reservoir.lakeHeaders : Array String := #[ "X-Reservoir-Api-Version:1.0.0", "X-L...
2,621
lean_file_chunk
c2fe14f46a2665efec3b7afa54e61f67ab5b59df1ef09c105eb46167796e37bf
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.Json open Lean /-! # JSON Object Defines a convenient wrapper type for JSON object data that makes indexing fields more convenient. ...
3,116
lean_file_chunk
d764ef0cf9261ab46962eb53258f671e4b12d222e416f5e6e3b766784ef50e67
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 namespace Lake /-- A sequence of calls donated by the key type `κ`. -/ public abbrev CallStack κ := List κ /-- A `CallStac...
869
lean_file_chunk
67ea2d5a58ab39772dacc71950030b8de4c0230467ae5a24fe3af6b55c3eae04
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.String.Basic import Init.Data.String.Modify import Init.Data.String.Search import Init.Data.Iterators.Consumers.Collect namespace Lak...
1,335
lean_file_chunk
8a4af0aedad9cbeb4492dff4387d6b83a01276dc3e95863e03b5a46b618421bb
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 namespace Lake open Lean (Name) /-- An external library -- its package plus its configuration. -/ public abbrev Exter...
3,108
lean_file_chunk
7fadf909fd41569f5272ca82a9407113f863dd854941054867f3846d7a207e84
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.Prelude open Lean (Name) namespace Lake /-- The keyword for package declarations. -/ @[reducible, expose] public def Package.keyword : N...
520
lean_file_chunk
f3e789614f9823d2220c7722dee865f40126d8917bdf2fd6b6b0662c8dd7b050
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 meta import all Lake.Util.OpaqueType import Lake.Util.OpaqueType namespace Lake /-- Opaque reference to a `Workspace` used for fo...
16,232
lean_file_chunk
366c60eae0ca9e4d3d1a52b90c4dc19446c448bfb40c6cdd3a0e740537f30b47
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.Cache public import Lake.Config.Script public import Lake.Config.ConfigDecl public impo...
12,630
lean_file_chunk
c89292837b2675d4d12c9ac29d91f8d39065da6f18be64869eb5f8b21b11cace
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 Lake.Util.Version public import Lake.Config.Pattern public import Lake.C...
23,947
lean_file_chunk
c0112f1333f611315221553cf9cae5bb857987ec4385dfa38724bfa86b118d58
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 Init.Control.Do public import Lake.Util.Log public import Lake.Util.Version public import Lake.Config.Artifact import Lake.Config.InstallPath import La...
13,414
lean_file_chunk
60185d909aa7e10c04c9a91c30a049759d87af699d98847b22da542d79e48ec6
lean_source_file
lean_toolchain_source_file_chunks
(service : CacheService) (scope : CacheServiceScope) (force := false) : LoggerIO Unit := do let url := service.artifactUrl descr.hash scope let path := cache.artifactDir / descr.relPath if (← path.pathExists) && !force then return logInfo s!"{scope}: downloading artifact {descr.hash}\ \n local path: {p...
2,895
lean_file_chunk
00be00d5873b5f7cfec36807dbffa3ccb539142288474a15bf51e7a41720ac2c
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.Facets public import Lake.Config.LeanConfig meta import all Lake.Config.Meta import Lake.Config.Meta namespace Lake open Lean System...
3,566
lean_file_chunk
5e22d1e970acda1f76303e23bd037d0459947aaf271307f1cde30314cd31e316
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.Setup public import Init.Data.String.TakeDrop open Lean namespace Lake /-- Target output formats supported by the Lake CLI (e.g., `lake ...
724
lean_file_chunk
5dfb8926f9d644c44f1e55cf95b808bd32f01df6e4cefc6b213290709b255db3
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.Control.Id public import Lake.Config.Opaque open System namespace Lake /-- A Lake configuration. -/ public structure Context where opaq...