ruby-maybe 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +23 -0
- data/ruby-maybe.gemspec +1 -1
- metadata +3 -2
data/README.md
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# ruby-maybe
|
2
|
+
|
3
|
+
[](https://travis-ci.org/oetzi/ruby-maybe)
|
4
|
+
|
5
|
+

|
6
|
+
|
7
|
+
## Description
|
8
|
+
|
9
|
+
'Maybe' not 'Maeby'. This is an implementation of the Maybe monad used in
|
10
|
+
[Haskell](http://www.haskell.org/haskellwiki/Maybe). Monads provide a
|
11
|
+
safe way to create non deterministic programs (for example, when not all
|
12
|
+
values are known at compile time). The Maybe monad allows programmers to
|
13
|
+
deal with values that may or may not be undefined.
|
14
|
+
|
15
|
+
## Installation
|
16
|
+
|
17
|
+
Either include in your Gemfile:
|
18
|
+
|
19
|
+
gem 'ruby-maybe'
|
20
|
+
|
21
|
+
Or, install for your system:
|
22
|
+
|
23
|
+
> gem install ruby-maybe
|
data/ruby-maybe.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-maybe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-03 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description:
|
15
15
|
email:
|
@@ -21,6 +21,7 @@ files:
|
|
21
21
|
- .gitignore
|
22
22
|
- Gemfile
|
23
23
|
- Gemfile.lock
|
24
|
+
- README.md
|
24
25
|
- Rakefile
|
25
26
|
- lib/ruby-maybe.rb
|
26
27
|
- ruby-maybe.gemspec
|