HackerTrans
TopNewTrendsCommentsPastAskShowJobs

manuc66

no profile record

comments

manuc66
·11 месяцев назад·discuss
@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
·в прошлом году·discuss
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
·в прошлом году·discuss
"This investigation was a collaboration between myself and my colleagues."
manuc66
·2 года назад·discuss
Have you tried https://www.freshrss.org/ ?