Our great sponsors
- Revelo Payroll - Free Global Payroll designed for tech teams
- Sonar - Write Clean Python Code. Always.
- Onboard AI - Learn any GitHub repo in 59 seconds
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
-
-
Sure, it's not a requirement, but it's nice if the language itself enforces it somehow. Also, making copies at the boundaries is a black hole for performance, realistically you need something smarter like persistent data structures. I see Python does have an implementation of a hash array mapped trie in the C API, maybe someone much cleverer than me could build a set of immutable data structures using that.
-
Revelo Payroll
Free Global Payroll designed for tech teams. Building a great tech team takes more than a paycheck. Zero payroll costs, get AI-driven insights to retain best talent, and delight them with amazing local benefits. 100% free and compliant.
-
There are python libraries that implement Clojure style functional data types. Have you tried pyrsistent - https://github.com/tobgu/pyrsistent