UfcppSample icon indicating copy to clipboard operation
UfcppSample copied to clipboard

ラムダ式のページに初期化子の詳細な説明がある

Open akeit0 opened this issue 5 months ago • 5 comments

ラムダ式内の初期化子の項目は別ページに移してほしいです。 https://ufcpp.net/study/csharp/sp3_lambda.html

また 自然な型 https://ufcpp.net/blog/2021/3/lambdaimprovements/ ref/outありの型省略 https://ufcpp.net/blog/2024/2/ref-out-lambda-params/

についても追記をお願いしたいです。

akeit0 avatar Jul 22 '25 00:07 akeit0

当初「関数型言語由来の機能」みたいなページだったのの名残を感じる… 多少大変(他のページとの兼ね合いも見てからの修正)な予感がしているので少々お時間いただくかもしれないです。

ufcpp avatar Jul 22 '25 01:07 ufcpp

自分メモ: https://ufcpp.net/study/csharp/functional/fun_localfunctions/ に移行しきれてないだけ疑惑あり。

ufcpp avatar Sep 07 '25 05:09 ufcpp

ref/outありの型省略

これは C# 14。 作業中: https://github.com/ufcpp/UfcppSample/issues/490

ufcpp avatar Sep 07 '25 05:09 ufcpp

自然な型

これは「デリゲート」のページの方にあり。

https://ufcpp.net/study/csharp/cheatsheet/ap_ver13/#method-group-natrural-type

ufcpp avatar Sep 07 '25 05:09 ufcpp

初期化子を除いて、 https://ufcpp.net/study/csharp/sp3_lambda.html の内容はほぼ他の場所に移ってそう。 「他のページに移った」誘導だけ内容に修正するのがよさげかも。

https://ufcpp.net/study/csharp/functional/fun_localfunctions/ https://ufcpp.net/study/csharp/sp3_expression.html

初期化子は計画上は https://github.com/ufcpp/UfcppSample/issues/11 https://github.com/ufcpp/UfcppSample/issues/85 でページ新設が必要。

ufcpp avatar Sep 07 '25 05:09 ufcpp