https://github.com/ace411/bingo-functional-repl
A simple REPL for the bingo-functional library.
https://github.com/ace411/bingo-functional-repl
bingo-functional bingo-repl functional functional-php functional-programming php-repl repl
Last synced: 3 months ago
JSON representation
A simple REPL for the bingo-functional library.
- Host: GitHub
- URL: https://github.com/ace411/bingo-functional-repl
- Owner: ace411
- License: apache-2.0
- Created: 2017-12-11T10:50:23.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-08-09T18:55:39.000Z (about 4 years ago)
- Last Synced: 2025-04-01T08:03:24.386Z (7 months ago)
- Topics: bingo-functional, bingo-repl, functional, functional-php, functional-programming, php-repl, repl
- Language: PHP
- Homepage: https://bingo-functional-docs.vercel.app/docs/repl
- Size: 131 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
bingo-functional-repl
A simple REPL for the bingo-functional library.
[](https://github.com/ace411/bingo-functional-repl/actions/workflows/php.yml)
[](//packagist.org/packages/chemem/bingo-functional-repl)
[](//packagist.org/packages/chemem/bingo-functional-repl)
[](//packagist.org/packages/chemem/bingo-functional-repl)
[](//packagist.org/packages/chemem/bingo-functional-repl)## Requirements
- PHP 7.2 or greater
- ext-apcu
## Rationale
The bingo-functional REPL is designed to be a playground for [bingo-functional](https://github.com/ace411/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.
```sh
$ 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.
```sh
$ path/to/vendor/bin/bfrepl
```Type `howto` when prompted for input for more information on how to use the REPL.
## Demonstration
[](https://asciinema.org/a/ugVeeJ0eCIyy6GrOCDaLiqf62)
## 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.