lean4-htt/src
Kyle Miller 608a5899dc
feat: have #print show structure field defaults (#7652)
This PR gives `#print` for structures the ability to show the default
values and auto-param tactics for fields.

Example:
```
#print Applicative
```
shows
```
class Applicative.{u, v} (f : Type u → Type v) : Type (max (u + 1) v)
[...]
fields:
  Functor.map : {α β : Type u} → (α → β) → f α → f β :=
    fun {α β} x y => pure x <*> y
  Functor.mapConst : {α β : Type u} → α → f β → f α :=
    fun {α β} => Functor.map ∘ Function.const β
  Pure.pure : {α : Type u} → α → f α
  Seq.seq : {α β : Type u} → f (α → β) → (Unit → f α) → f β
  SeqLeft.seqLeft : {α β : Type u} → f α → (Unit → f β) → f α :=
    fun {α β} a b => Function.const β <$> a <*> b ()
  SeqRight.seqRight : {α β : Type u} → f α → (Unit → f β) → f β :=
    fun {α β} a b => Function.const α id <$> a <*> b ()
[...]
```
2025-03-24 09:25:27 +00:00
..
bin feat: API to avoid deadlocks from dropped promises (#6958) 2025-02-07 15:33:10 +00:00
cmake fix: Windows stage0 linking (#6622) 2025-01-14 09:09:50 +01:00
include/lean feat: socket support using LibUV (#6683) 2025-03-19 13:54:51 +00:00
Init feat: BitVec.extractLsb'_mul_eq (#7594) 2025-03-24 09:23:03 +00:00
initialize fix: explicitly initialize Std in lean_initialize (#4668) 2024-07-06 13:17:30 +00:00
kernel fix: bv_omega to use -implicitDefEqProofs (#7387) 2025-03-09 00:13:14 +00:00
lake refactor: lake: unified configuration (#7504) 2025-03-23 02:49:57 +00:00
Lean feat: have #print show structure field defaults (#7652) 2025-03-24 09:25:27 +00:00
library chore: fix interpreter lean_assert 2025-03-21 09:38:50 +01:00
runtime chore: fix fsanitize preset (#7651) 2025-03-24 09:17:45 +00:00
shell chore: avoid rebuilding leanmanifest in each build (#5057) 2024-08-15 14:55:36 +00:00
Std feat: add BitVec.(ssubOverflow, usubOverflow) definitions and BitVec.(ssubOverflow_eq, usubOverflow_eq) (#7599) 2025-03-24 09:18:39 +00:00
util perf: remove most remaining async blockers in Init.Data.List.Sublist (#7500) 2025-03-15 15:26:06 +00:00
cadical.mk feat: ship cadical (#4325) 2024-08-23 09:13:27 +00:00
CMakeLists.txt chore: CI: USE_LAKE secondary build job (#7505) 2025-03-20 12:16:53 +00:00
config.h.in
githash.h.in
Init.lean feat: allow async elab tasks to contribute to info trees reported to linters and request handlers (#7457) 2025-03-13 15:09:00 +00:00
lakefile.toml.in chore: lake: revert use of Lake plugin (#7608) 2025-03-21 00:59:43 +00:00
lean-toolchain
Lean.lean feat: use realizeConst for all equation, unfold, induction, and partial fixpoint theorems (#7261) 2025-03-06 15:38:04 +00:00
lean.mk.in chore: USE_LAKE: integrate into CMake (#4466) 2025-03-15 08:58:01 +00:00
Leanc.lean feat: expose flags for the bundled C compiler (#4477) 2024-06-22 01:23:33 +00:00
Std.lean feat: Std.Net.Addr (#6563) 2025-01-09 09:33:03 +00:00
stdlib.make.in chore: lake: revert use of Lake plugin (#7608) 2025-03-21 00:59:43 +00:00
stdlib_flags.h chore: remove comment from src/stdlib_flags.h (#7531) 2025-03-17 18:07:58 +00:00
version.h.in feat: language reference links and examples in docstrings (#7240) 2025-03-12 09:17:27 +00:00