Skip to main content

No project description provided

Project description


description: Reasoning the logic flow with Magic

Mithrandir

Installation

As much simple as it could be, use pip , pipenv or poetry :

$ pip install mithrandir

{% hint style="info" %} Remember to check out the latest version available {% endhint %}

Once you have Mithrandir in your presence, let him be your guide...

{% code title="$ python" %}

>> from mithrandir import Monad, Op, MonadSignature as Sig
>> magic = Monad(1) | Op.MAP(lambda x: x + 1)
>> print("magic = ", magic)
... "magic = Monad<async_mode=False>[2]"
>> # Give me your blessing...
>> print("blessed-value = ", magic.unwrap())
... "blessed-value = 2"

{% endcode %}

For more advanced tutorials and examples, check out the next parts of the document

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mithrandir-1.4.1.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

mithrandir-1.4.1-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page