-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from harveywi/wjh-monad-syntax-v2
Less ad hoc monad desugaring, some code cleanup, unit tests.
- Loading branch information
Showing
14 changed files
with
611 additions
and
246 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,31 @@ | ||
from distutils.core import setup | ||
|
||
with open('README.md') as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
name = 'zio_py', | ||
packages = ['zio_py'], | ||
version = '0.0.3a', | ||
name='zio_py', | ||
packages=['zio_py'], | ||
version='0.0.4a', | ||
license='Apache license 2.0', | ||
description = 'Python port of Scala ZIO for pure functional programming', | ||
author = 'William Harvey', | ||
author_email = '[email protected]', | ||
url = 'https://github.com/harveywi/ziopy', | ||
download_url = 'https://github.com/harveywi/ziopy/archive/0.0.3a.tar.gz', | ||
keywords = ['ZIO', 'IO', 'monads', 'pure fp', 'functional programming', | ||
description='Python port of Scala ZIO for pure functional programming', | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', # This is important! | ||
author='William Harvey', | ||
author_email='[email protected]', | ||
url='https://github.com/harveywi/ziopy', | ||
download_url='https://github.com/harveywi/ziopy/archive/0.0.4a.tar.gz', | ||
keywords=['ZIO', 'IO', 'monads', 'pure fp', 'functional programming', | ||
'monad syntax'], | ||
install_requires=[ | ||
'macropy3==1.1.0b2' | ||
], | ||
python_requires='>=3.7', | ||
classifiers=[ | ||
'Development Status :: 3 - Alpha', | ||
'Intended Audience :: Developers', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
'License :: OSI Approved :: Apache Software License', | ||
'Programming Language :: Python :: 3.7' | ||
'Development Status :: 3 - Alpha', | ||
'Intended Audience :: Developers', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
'License :: OSI Approved :: Apache Software License', | ||
'Programming Language :: Python :: 3.7' | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import macropy.activate # noqa: F401 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from typing import Any | ||
|
||
import pytest | ||
from zio_py.runtime import Runtime | ||
|
||
|
||
@pytest.fixture | ||
def simple_runtime() -> Runtime[Any]: | ||
return Runtime() |
Oops, something went wrong.