Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

No project description provided

Project description

# Gakp-pyfunk
A set of functional tools for python. It is supposed to have the same interface as Gakp-jsfunk and Gakp-lispfunk

## Example
from pyfunk.combinators import compose
from pyfunk.collections import fmap
from import IO

def get_file(filename):
"""@sig get_file :: String -> IO String """
def open_file():
with open(filename) as f:
return IO(open_file)

def get_tokens(str):
return str.split()

def get_lenght_of_tokens(tokens):
return len(tokens)

tokenLength = compose(fmap(get_lenght_of_tokens), fmap(get_tokens), get_file)

## Contributing
Anyone can contribute using the fork and pull model.

Project details

Download files

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

Files for pyfunk, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pyfunk-1.1.0-py2.py3-none-any.whl (29.8 kB) File type Wheel Python version 3.5 Upload date Hashes View
Filename, size pyfunk-1.1.0.tar.gz (22.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page