Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 22 days ago
JSON representation

A simple REPL for the bingo-functional library.

Awesome Lists containing this project

README

        



bingo-functional-repl

A simple REPL for the bingo-functional library.

[![bingo-functional-repl CI](https://github.com/ace411/bingo-functional-repl/actions/workflows/php.yml/badge.svg)](https://github.com/ace411/bingo-functional-repl/actions/workflows/php.yml)
[![License](https://poser.pugx.org/chemem/bingo-functional-repl/license)](//packagist.org/packages/chemem/bingo-functional-repl)
[![composer.lock](https://poser.pugx.org/chemem/bingo-functional-repl/composerlock)](//packagist.org/packages/chemem/bingo-functional-repl)
[![Latest Stable Version](https://poser.pugx.org/chemem/bingo-functional-repl/v)](//packagist.org/packages/chemem/bingo-functional-repl)
[![Latest Unstable Version](https://poser.pugx.org/chemem/bingo-functional-repl/v/unstable)](//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

[![asciicast](https://asciinema.org/a/ugVeeJ0eCIyy6GrOCDaLiqf62.svg)](https://asciinema.org/a/ugVeeJ0eCIyy6GrOCDaLiqf62)

## Dealing with problems

Endeavor to create an issue on GitHub when the need arises or send an email to [email protected].

## 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