{ "info": { "author": "Tobias Weise", "author_email": "tobias_weise@gmx.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.0", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development", "Topic :: Software Development :: Libraries", "Topic :: Utilities" ], "description": "====================\nPylude\n====================\n\nCloning the Haskell-Prelude for Python3 :\nhttp://hackage.haskell.org/package/base-4.8.1.0/docs/Prelude.html\n\n\n*** MAKING PYTHON GREAT AGAIN! ***\n\n\nFeatures\n========\n\n\nThe newType function\n-----------------------\n\n\n.. code:: python\n\n Just, Nothing = newType('Maybe', ('Just', 1), ('Nothing', 0), deriving={Eq, Show})\n\n\nconstructor matching\n-----------------------\n\n.. code:: python\n\n def isJust(x):\n return Just(match=x)\n\n def isNothing(x):\n return x==Nothing\n\n\ntype-classes\n-----------------\n\n.. code:: python\n\n def mapB(func, b):\n return b\n\n\n T, F = newType(\"B\", (\"T\",0), (\"F\",0), deriving={Eq, Show}, implements={Functor : {\"fmap\" : mapB} })\n\n print(fmap(lambda x: x*2, T)) # 'T()'\n\n\n\n\noperators\n-----------------\n\n.. code:: python\n\n # Application operator $ as |\n\n @pylu\n def f(x):\n return x\n\n print( f | (lambda x: x*3) | (lambda x: x+1) | 2) #9\n\n\n # Function composition . as *\n\n g = (lambda x: x*3) * f * (lambda x: x+1) * (lambda x: x+1)\n\n print(g(2)) #8", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "prelude haskell function functional lambda list tuple either maybe functor monad monoid higherorder", "license": "BSD3", "maintainer": "", "maintainer_email": "", "name": "pylude", "package_url": "https://pypi.org/project/pylude/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pylude/", "project_urls": null, "release_url": "https://pypi.org/project/pylude/0.0.8/", "requires_dist": null, "requires_python": "", "summary": "A library trying to clone the Haskell-Prelude for python3", "version": "0.0.8" }, "last_serial": 1947812, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "2ddcfa818a1d763ee5ba7cacb1260b54", "sha256": "9656d282bdc603c3fb5102786edde2b9a54ac9b57e31cda30df5fb66d9faa818" }, "downloads": -1, "filename": "pylude-0.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "2ddcfa818a1d763ee5ba7cacb1260b54", "packagetype": "bdist_wheel", "python_version": "3.0", "requires_python": null, "size": 4626, "upload_time": "2016-02-01T19:49:44", "url": "https://files.pythonhosted.org/packages/7c/b1/18f67c6b01a327688fd4a878ee92397e282a4251718e06d47651823baa4c/pylude-0.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3f57059dd348f63e20eeb1817368ea41", "sha256": "77de78e2744d0fd2d099c29ee4ff14ae7d53d8b5d49e7787af8003d078a2a812" }, "downloads": -1, "filename": "pylude-0.0.1.tar.gz", "has_sig": false, "md5_digest": "3f57059dd348f63e20eeb1817368ea41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3707, "upload_time": "2016-02-01T19:16:21", "url": "https://files.pythonhosted.org/packages/0d/b2/33eaa6c063e53a9a8c049821d34afa09330e5e14e6e7d266f65022bae27d/pylude-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "09b27056b33ebfaa3c64c1c67da9955c", "sha256": "dd384403fc6fa06a27effbc9fd18eb078661f1f8bf8822998360c33bf5b24935" }, "downloads": -1, "filename": "pylude-0.0.2.tar.gz", "has_sig": false, "md5_digest": "09b27056b33ebfaa3c64c1c67da9955c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4555, "upload_time": "2016-02-02T09:40:51", "url": "https://files.pythonhosted.org/packages/c4/cb/00de0babadd22ca01f520742fb5578895a4f688a9dfaf62cb52c96b868ce/pylude-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "ccaa88e973af1d8731ba871d78b95e68", "sha256": "93cce0a278bcae36f21d71598d23dbdab1a55325f83ad590eef304eda1aa2467" }, "downloads": -1, "filename": "pylude-0.0.3.tar.gz", "has_sig": false, "md5_digest": "ccaa88e973af1d8731ba871d78b95e68", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8723, "upload_time": "2016-02-03T16:05:41", "url": "https://files.pythonhosted.org/packages/47/3a/d0d198eb2c3c2fc8a976557e9a62e5210564250bbffb37af76d892bfb9a3/pylude-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "a57e5413b12b2058b5dc80bce48991a2", "sha256": "41b7e52416322bb1f38fb2f54d6d15c581f7e9442e1a8df901565c83f027009e" }, "downloads": -1, "filename": "pylude-0.0.4.tar.gz", "has_sig": false, "md5_digest": "a57e5413b12b2058b5dc80bce48991a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8743, "upload_time": "2016-02-03T20:20:09", "url": "https://files.pythonhosted.org/packages/df/07/6b82c5922a593e33e74970fc1463c3e1d0b0e1792d1c1c9a285127015b0b/pylude-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "a5a1ba33493005b458079cb74dd9e3ca", "sha256": "778a880c74b178c4316c774ce1e778f52da817eb6aed6a3a778affa829b854e3" }, "downloads": -1, "filename": "pylude-0.0.5.tar.gz", "has_sig": false, "md5_digest": "a5a1ba33493005b458079cb74dd9e3ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10015, "upload_time": "2016-02-07T17:45:24", "url": "https://files.pythonhosted.org/packages/e5/20/cf5d079fd7bec2917e4eea37645af8d405827f4dbaa51ea5640696ae8849/pylude-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "0d9d44af3f93c2caf1b2148c05565ee8", "sha256": "2f0f397327c5f8f8a297c99de9f359cb994479ba1adb68a62d919fc4adff6440" }, "downloads": -1, "filename": "pylude-0.0.6.tar.gz", "has_sig": false, "md5_digest": "0d9d44af3f93c2caf1b2148c05565ee8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11595, "upload_time": "2016-02-08T18:28:11", "url": "https://files.pythonhosted.org/packages/dd/31/aa04e1a5580c2cab5b02bc72d285ecf9bcaa3559235492d7a85555c36cf6/pylude-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "2acac3ff167c476ec2c71ce3d94b7e30", "sha256": "56640ea2667ef9b733fb15c916f9e8939d4df8c4be0a6d7a2d2e9f51d3c75e34" }, "downloads": -1, "filename": "pylude-0.0.7.tar.gz", "has_sig": false, "md5_digest": "2acac3ff167c476ec2c71ce3d94b7e30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11746, "upload_time": "2016-02-09T09:44:33", "url": "https://files.pythonhosted.org/packages/c0/74/f79867de81173dedf7e3c7fea05cde4d93dc7f6ab07e64091b675986254d/pylude-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "9beafddaa660b0258a78c49570840ede", "sha256": "9f0a22eca1bc0b15b19c8fddc89739b0ac37ef5954eaaa31ff239f4d33100fc0" }, "downloads": -1, "filename": "pylude-0.0.8.tar.gz", "has_sig": false, "md5_digest": "9beafddaa660b0258a78c49570840ede", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11814, "upload_time": "2016-02-09T16:37:59", "url": "https://files.pythonhosted.org/packages/f0/c0/42186f3cf94b24c964990d3d0520ded8bd3cfaeb00acbeed18e8abb3dbf2/pylude-0.0.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9beafddaa660b0258a78c49570840ede", "sha256": "9f0a22eca1bc0b15b19c8fddc89739b0ac37ef5954eaaa31ff239f4d33100fc0" }, "downloads": -1, "filename": "pylude-0.0.8.tar.gz", "has_sig": false, "md5_digest": "9beafddaa660b0258a78c49570840ede", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11814, "upload_time": "2016-02-09T16:37:59", "url": "https://files.pythonhosted.org/packages/f0/c0/42186f3cf94b24c964990d3d0520ded8bd3cfaeb00acbeed18e8abb3dbf2/pylude-0.0.8.tar.gz" } ] }