<commit_before># RFunc

This gem provides access to a functionally oriented collections library.  First release will include Seq and Option support.

## Installation

Add this line to your application's Gemfile:

    gem 'rfunc'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install rfunc

## Usage

###RFunc
The RFunc module provides access to some helper methods that let you form RFunc classes in a less verbosity.

      `require "rfunc"

      include RFunc

      seq([1,2,3]) => RFunc::Seq(1,2,3)

      option(nil)  => RFunc::None

      option(1)  => RFunc::Some(1)
      `

####RFunc::Seq
The RFunc::Seq (Sequence) is a replacement for the Ruby Array class which it accepts and provides the following methods:<commit_msg>remove last pair of backticks<commit_after># RFunc

This gem provides access to a functionally oriented collections library.  First release will include Seq and Option support.

## Installation

Add this line to your application's Gemfile:

    gem 'rfunc'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install rfunc

## Usage

###RFunc
The RFunc module provides access to some helper methods that let you form RFunc classes in a less verbosity.

      require "rfunc"

      include RFunc

      seq([1,2,3]) => RFunc::Seq(1,2,3)

      option(nil)  => RFunc::None

      option(1)  => RFunc::Some(1)


####RFunc::Seq
The RFunc::Seq (Sequence) is a replacement for the Ruby Array class which it accepts and provides the following methods:
{'fraction_non_alphanumeric': 0.08409986859395532, 'fraction_numerical': 0.010512483574244415, 'mean_word_length': 3.4926253687315634, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '1389564', 'n_tokens_mistral': 458, 'n_tokens_neox': 432, 'n_words': 189}