FnX.Fn by Jonas Eriksson

<PackageReference Include="FnX.Fn" Version="0.2.0" />

.NET API 31,744 bytes

 FnX.Fn 0.2.0

Create Func's that returns anonymous (or any other type) on the fly with var myfun = Fn.New(()=>new{x=1}); Get anonymous (or any other type) from an enclosed code block with var myobj = Fn.Get(()=>{var x=1;return new {x};}); Reduce parameters with currying var myfun = Fn.New((string a, string b)=>..); var myfunA1 = myfun("A1"); See more samples in github repo.

<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
  <metadata>
    <id>FnX.Fn</id>
    <version>0.2.0</version>
    <authors>Jonas Eriksson</authors>
    <owners>Jonas Eriksson</owners>
    <projectUrl>https://github.com/joeriks/FnX</projectUrl>
    <requireLicenseAcceptance>false</requireLicenseAcceptance>
    <description>Create Func's that returns anonymous (or any other type) on the fly with var myfun = Fn.New(()=&gt;new{x=1}); Get anonymous (or any other type) from an enclosed code block with var myobj = Fn.Get(()=&gt;{var x=1;return new {x};}); Reduce parameters with currying var myfun = Fn.New((string a, string b)=&gt;..); var myfunA1 = myfun("A1"); See more samples in github repo.</description>
    <summary>Helpers to create type inferred funcs and auto-invoked funcs, supports anonymous types. And also currying.</summary>
    <copyright>Copyright 2013</copyright>
  </metadata>
</package>