hebigo
awesome-functional-python
Our great sponsors
hebigo | awesome-functional-python | |
---|---|---|
21 | 15 | |
21 | 2,199 | |
- | - | |
1.9 | 5.5 | |
about 1 year ago | 11 days ago | |
Python | ||
Mozilla Public License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hebigo
-
What is the point of the if __name__ == "__main__":, i.e. why use a file as both script and module?
The Lissp transpiler incrementally compiles and executes each top-level form to Python. It needs to do this in case there's a macro definition that might affect the compilation of a subsequent form. If it's only executing definitions, this is harmless, but if you want to precompile the main module, it needs the guard, or the side effects will happen too.
-
What's the most hilarious use of operator overloading you've seen?
If you want Python to be as customizable as Lissp, check out Hissp (and Hebigo).
-
Want cleaner code? Use the rule of six
Python's lambdas can have as many lines as you want. Just wrap parens around it. Hissp uses this form as a compilation target. Its REPL shows the Python compilation. Play around with it til you get it: https://github.com/gilch/hissp
- What would be your “perfect” programming language?
- Kamby – A programming language based on Lisp that doesn't seems like Lisp
- Wisp: Whitespace to Lisp
-
Is ECMAScript really a dialect of Lisp?
The original Lisp's S-expression syntax was just supposed to be an intermediate language used by the compiler when processing the real language based on M-expressions, which kind of never took off. Numerous alternatives to S-expressions have been proposed, and some retain homoiconicity, another feature diagnostic of a Lisp (and one that ECMAScript lacks). For example, see Hebigo's readme, which shows a direct correspondence between its Python-like syntax and that of Hissp's default reader (Lissp), which uses the S-expressions. Julia can also be written in S-expressions, but this usually only used in macro definitions.
- Why Hy?
-
Land of Lisp
I think LoL is too CL-specific. If you know both languages first, you can pretty much translate, but since they'd be trying to learn Lisp in the first place, this is a bad idea.
On the other hand, [Hissp][1] has a pretty good tutorial for anyone coming from a Python background.
[1]: https://github.com/gilch/hissp
-
Interesting or distinctive lisps?
Hebigo: a whitespaceLisp isomorphic to Hissp that looks like Python.
awesome-functional-python
- Programacion Funcional
-
"awesome functional python"
hi everyone .. sharing this link to "awesome functional python" :: https://github.com/sfermigier/awesome-functional-python .. i wish i would have found it a few months ago when starting my functional python journey, especially the libraries :)
- Functional python for data process
- Functional Python
-
They say Python is the easiest language to learn, that being said, how much did it help you learn other languages? Did any of you for instance try C++ but quit, learn Python, and then back to C++?
Really strange new lands can be found in functional programming languages like Haskell, Elm, OCaml, Elixir, and the like. Functional programming in Python isn't something I have adopted fully, but I do find it a helpful paradigm. Interesting tools available for it.
-
Python Design Patterns
https://github.com/mpkocher/Functional-Programming-Technique...
I covered a few core concepts (e.g., functions as first-class citizens, closures, partial application, etc...) and added a few real world examples of using a functional centric design. The text/format has some rough edges, but overall I think the text is useful for internalizing how to leverage a functional-ish approach.
Other resources.
https://github.com/sfermigier/awesome-functional-python
-
Awesome Functional Programming
I see there is a short section about Python (6 resources).
I have been maintaining for the last 5 years a slightly richer collection at: https://github.com/sfermigier/awesome-functional-python/
-
Functional-streams A Library to write concise functional code
1) It's not released on PyPI (there is a different project with the same name).
2) How different / better is it that the similar projects listed on: https://github.com/sfermigier/awesome-functional-python ? (Also: feel free to make a pull request if you want your project listed).
- Am I making things harder for myself by not using any OO stuff?
-
Hy: A dialect of Lisp that's embedded in Python
Cool, I thought it was dead (like the fictional character called, coincidently, "Snake"). I see that active development has restarted 6 months ago, seemingly. Kudos to everyone involved, specially @Kodiologist who seems the main contributor over the recent period.
(Shameless plug: more functional languages that look like Python, or compile to one of the Python VMs: https://github.com/sfermigier/awesome-functional-python#lang... ).
What are some alternatives?
hy - A dialect of Lisp that's embedded in Python
FizzBuzz Enterprise Edition - FizzBuzz Enterprise Edition is a no-nonsense implementation of FizzBuzz made by serious businessmen for serious business purposes.
hy-lisp-python - examples for my book "A Lisp Programmer Living in Python-Land: The Hy Programming Language"
PyFunctional - Python library for creating data pipelines with chain functional programming
slime - The Superior Lisp Interaction Mode for Emacs
Toolz - A functional standard library for Python.
smtfmt - An SMT-LIB formatter.
RxPY - ReactiveX for Python
smart-imports - smart imports for Python
fantasy-land - Specification for interoperability of common algebraic structures in JavaScript
coalton - Coalton is an efficient, statically typed functional programming language that supercharges Common Lisp.
awesome-functional-programming - Yet another resource for collecting articles, videos etc. regarding functional programming