Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  Qq.lean   Sprache: Lean

 

module

public meta import Mathlib.Util.Qq
public import Mathlib.Data.Finset.Basic


open Qq Lean Elab Meta

section mkSetLiteralQ

/--
info: {1, 2, 3} : Finset ℕ
-/

#guard_msgs in
#check by_elab return mkSetLiteralQ q(Finset ℕ) [q(1), q(2), q(3)]

/--
info: {1, 2, 3} : Multiset ℕ
-/

#guard_msgs in
#check by_elab return mkSetLiteralQ q(Multiset ℕ) [q(1), q(2), q(3)]

/--
info: {1, 2, 3} : Set ℕ
-/

#guard_msgs in
#check by_elab return mkSetLiteralQ q(Set ℕ) [q(1), q(2), q(3)]

/--
info: {1, 2, 3} : List ℕ
-/

#guard_msgs in
#check by_elab return mkSetLiteralQ q(List ℕ) [q(1), q(2), q(3)]

/-- info: {0 ^ 2, 1 ^ 2, 2 ^ 2, 3 ^ 2} : Finset ℕ -/
#guard_msgs in
#check by_elab return mkSetLiteralQ q(Finset ℕ) (List.range 4 |>.map fun n : ℕ ↦ q($n^2))

end mkSetLiteralQ

Messung
CHZG
9410010097

¤ Dauer der Verarbeitung: 0.5 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,077
#Domains=862,086