.github/dependabot.yml | |
|
|
.github/workflows/rubocop.yml | |
|
|
.github/workflows/spec.yml | |
|
|
.gitignore | |
|
|
.rspec | |
|
|
.rubocop.yml | |
|
|
.simplecov | |
|
|
.yardopts | |
|
|
CHANGELOG.md | |
|
|
Gemfile | |
|
|
Gemfile.lock | |
|
|
LICENSE.txt | |
|
|
README.md | |
|
|
Rakefile | |
|
|
benchmarks/README.md | |
|
|
benchmarks/dry_do_vs_fear_for.txt | |
|
|
benchmarks/dry_some_fmap_vs_fear_some_map.txt | |
|
|
benchmarks/factorial.txt | |
|
|
benchmarks/fear_gaurd_and1_vs_new.txt | |
|
|
benchmarks/fear_gaurd_and2_vs_and.txt | |
|
|
benchmarks/fear_gaurd_and3_vs_and_and.txt | |
|
|
benchmarks/fear_pattern_matching_construction_vs_execution.txt | |
|
|
benchmarks/pattern_matching_dry_vs_qo_vs_fear_try.txt | |
|
|
fear.gemspec | |
|
|
examples/pattern_extracting.rb | 12 |
|
|
examples/pattern_matching_binary_tree_set.rb | 65 |
|
|
examples/pattern_matching_number_in_words.rb | 54 |
|
|
lib/fear.rb | 28 |
|
|
lib/fear/await.rb | 10 |
|
|
lib/fear/awaitable.rb | 10 |
|
|
lib/fear/either.rb | 41 |
|
|
lib/fear/either/left_projection.rb | 106 |
|
|
lib/fear/either/pattern_match.rb | 16 |
|
|
lib/fear/either_api.rb | 10 |
|
|
lib/fear/empty_partial_function.rb | 26 |
|
|
lib/fear/failure.rb | 65 |
|
|
lib/fear/failure/pattern_match.rb | 10 |
|
|
lib/fear/for.rb | 35 |
|
|
lib/fear/for_api.rb | 7 |
|
|
lib/fear/future.rb | 165 | A 2 hrs |
|
lib/fear/future_api.rb | 12 |
|
|
lib/fear/left.rb | 48 |
|
|
lib/fear/left/pattern_match.rb | 11 |
|
|
lib/fear/none.rb | 4 |
|
|
lib/fear/none_class.rb | 52 |
|
|
lib/fear/none_class/pattern_match.rb | 10 |
|
|
lib/fear/option.rb | 29 |
|
|
lib/fear/option/pattern_match.rb | 14 |
|
|
lib/fear/option_api.rb | 17 |
|
|
lib/fear/partial_function.rb | 46 |
|
|