Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Lean/Mathlib/scripts/     Datei vom 15.10.2026 mit Größe 7 kB image not shown  

Impressum FormatTable.lean   Sprache: Lean

 

module

public import Mathlib.Util.FormatTable

/--
info:
| first           | second header   | third \| header |
| :-------------- | :-------------: | --------------: |
| item number one |    item two     |          item c |
| the fourth item | the fourth item |  escape \| this |
| align left      |  align center   |     align right |
-/

#guard_msgs in
run_cmd Lean.logInfo ("\n" ++ formatTable
  #["first", "second header", "third | header"]
  #[#["item number one", "item two", "item c"],
    #["the fourth item", "the fourth item", "escape | this"],
    #["align left", "align center", "align right"]]
  (.some #[.left, .center, .right]))

Messung
CHZG
100100100100

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland