Problem I’d like to make the usage of my configuration framework easier so I created a few extensions that after […]
Tag: expression-trees
Binary expression tree node with two possible states
Problem I am building out a binary expression tree and shown below is an implementation of the tree’s node. The […]
Expression tree in Haskell with support for differentiation
Problem A simple binary expression tree in Haskell without operator precedence and without parentheses. Any comments would be much appreciated. […]
Simple generic sequence generators
Problem I’ve been improving some of my old sequence generators that worked with generics and lambdas in order to support […]
Calculating user efficiency on a time period with Linq
Problem I have this expression: public static readonly Expression<Func<ApplicationUser, decimal>> EfficiencyPercentExpr = e => (e.ExecutorOrders.Where(x => x.Added >= DbFunctions.AddDays(SqlFunctions.GetUtcDate(), -30)).Count(x […]
Building DebuggerDisplay strings
Problem The DebuggerDisplayAttribute is a very helpful feature. But creating those strings is an extremely tedious task. I wanted to […]