Use Lambda.Predicate in IEnumerable.Where

Issue #44 new
Former user created an issue

Lambda.Predicate function returns System.SysUtils.TPredicate, but IEnumerable.Where requires Spring.TPredicate. Can you add Lambda.ConstPredicate that will return Spring.TPredicate?

Comments (1)

  1. Stefan Glienke repo owner

    As I mentioned in the other issue this is part of a unit considered as experimental - I have something on my list for Spring4D 1.3 that will change the anonymous method types being used in Spring4D and possibly introduce something similar to what DSharp.Core.Lambda does in a more stable state.

  2. Log in to comment