chemem / bingo-functional-repl
A simple REPL for the bingo-functional library
Requires
- php: >=7.2
- ext-apcu: ~5
- chemem/bingo-functional: ~2
- clue/stdio-react: ~2
- mmarica/display-table: ~1
- nikic/php-parser: ~4
- php-parallel-lint/php-console-color: ~0
- react/child-process: ~0
Requires (Dev)
This package is auto-updated.
Last update: 2024-12-10 01:55:26 UTC
README
bingo-functional-repl
A simple REPL for the bingo-functional library.
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
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.