forked from AndreyTsvetkov/Functional.Maybe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFunctional.Maybe.nuspec
More file actions
39 lines (36 loc) · 1.58 KB
/
Functional.Maybe.nuspec
File metadata and controls
39 lines (36 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0"?>
<package >
<metadata>
<id>Functional.Maybe</id>
<version>$version$</version>
<title>Functional.Maybe — Option type for C# with LINQ support and rich fluent syntax for many popular uses</title>
<authors>Andrey Tsvetkov; original version by William Casarin</authors>
<owners>Andrey Tsvetkov</owners>
<licenseUrl>https://raw.githubusercontent.com/AndreyTsvetkov/Functional.Maybe/master/License.txt</licenseUrl>
<projectUrl>https://github.com/AndreyTsvetkov/Functional.Maybe</projectUrl>
<iconUrl>http://findicons.com/files/icons/1462/candy_hearts/32/maybe.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary>Option types for C# with LINQ support and rich fluent syntax for many popular uses</summary>
<description>
<![CDATA[
Option types for C# with LINQ support and rich fluent syntax for many popular uses:
var maybeOne = "one".ToMaybe();
var maybeAnother = Maybe<string>.Nothing;
var maybeBoth =
from one in maybeOne
from another in maybeAnother
select one + another;
maybeBoth.Match(
both =>Console.WriteLine("Result is: {0}", both),
@else: () => Console.WriteLine("Result is Nothing, as one of the inputs was Nothing")
);]]>
</description>
<releaseNotes>Added SelectMaybe alias for SelectMany.</releaseNotes>
<copyright>Copyright 2015</copyright>
<tags> option, maybe, linq, fluent, functional </tags>
</metadata>
<files>
<file src="bin\Release\Functional.Maybe.dll" target="lib\portable-net40+win8"/>
<file src="bin\Release\Functional.Maybe.dll" target="lib\net45"/>
</files>
</package>