/bingo-functional-repl

A simple REPL for the bingo-functional library.

Primary LanguagePHPApache License 2.0Apache-2.0

bingo-functional-repl

A simple REPL for the bingo-functional library.

bingo-functional-repl CI License composer.lock Latest Stable Version Latest Unstable Version

Requirements

  • PHP 7.2 or greater

  • ext-apcu

Rationale

The bingo-functional REPL is designed to be a playground for bingo-functional artifacts - functions, monads, applicatives, and immutable structures.

The REPL can be considered a 100% opt-in tool for testing bingo-functional's potencies - one that informs approaches to library usage in more elaborate contexts.

Installation

Though it is possible to clone the repo, Composer remains the best tool for installing bingo-functional-repl. To install the package via Composer, type the following in a console of your choosing.

$ composer require chemem/bingo-functional-repl

Usage

Upon successful installation of the package, type the following - also in a preferred CLI - to activate the shell.

$ path/to/vendor/bin/bfrepl

Type howto when prompted for input for more information on how to use the REPL.

Demonstration

asciicast

Dealing with problems

Endeavor to create an issue on GitHub when the need arises or send an email to lochbm@gmail.com.

Contributing

Consider buying me a coffee if you appreciate the offerings of the project and/or would like to provide more impetus for me to continue working on it.

Buy Me A Coffee