<commit_before>maybe-monad
===========

Simple monad library for PHP. Makes your life easier by making your code safer.

# Principle
When accessing values, variables, properties, calling methods or even chaining methods you usually don't know if subject of operation is null or not. That's is where my library comes. What you need to do is just wrap your subject around with class called `Maybe` and at the endpoint call method `value()`.

# Installation
Composer:

```
{
    "require": {
        "pirminis/maybe-monad": "dev-master"
    }
}
```<commit_msg>Updated readme (adjusted text).<commit_after>maybe-monad
===========

Simple monad library for PHP. Makes your life easier by making your code safer.

# Principle
When accessing values, variables, properties, calling methods or even chaining methods you usually don't know if subject of operation is null or not. That's is where my library comes. What you need to do is just wrap your subject around with class called `Maybe` and at the endpoint call method `value()`.

# Installation
Composer:

```
"require": {
    "pirminis/maybe-monad": "dev-master"
}
```
{'fraction_non_alphanumeric': 0.09946236559139784, 'fraction_numerical': 0.0, 'mean_word_length': 4.344497607655502, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3450136', 'n_tokens_mistral': 314, 'n_tokens_neox': 294, 'n_words': 147}