HackerTrans
トップ新着トレンドコメント過去質問紹介求人

manuc66

no profile record

コメント

manuc66
·11 か月前·議論
@Bogdanp maybe this is another way to express it:

public static class EnumerableExtensions {

public static IEnumerable<TR> SelectNotNull<T, TR>( this IEnumerable<T> source, Func<T, TR?> fn) where TR : class { return source.Select(fn) .Where(it => it != null) .OfType<T>(); }

public static IEnumerable<TR> SelectNotNull<T, TR>( this IEnumerable<T> source, Func<T, TR?> fn) where TR : struct { return source.Select(fn) .Where(it => it != null) .Select(item => item.Value); } }
manuc66
·昨年·議論
Interesting to follow as a side reading of this article : What's Wrong with The NY Times Article on ADHD - #1 (of 4 Parts) - https://www.youtube.com/watch?v=-8GlhCmdkOw
manuc66
·昨年·議論
"This investigation was a collaboration between myself and my colleagues."
manuc66
·2 年前·議論
Have you tried https://www.freshrss.org/ ?