以下の内容はhttps://m-hiyama-memo.hatenablog.com/entry/2020/12/10/165929より取得しました。


Leanサンプル funcomp

section funcomp
  variables {X Y Z:Type}
  def comp (f:X → Y) (g:Y → Z) :X → Z :=
    λ x:X, g (f x)
end funcomp

#check comp
infix `;` := comp

constants A B C D:Type
constants (f:A → B) (g:B → C) (h:C → D)
#check comp 
#check comp f  g
#check f;g;h
#check  f ; @id B



以上の内容はhttps://m-hiyama-memo.hatenablog.com/entry/2020/12/10/165929より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14