News for hackers. Stuff that matters.
Re:Toolz: A functional standard library for Python by dragonwriter on Thursday January 21, 2021 @07:33PM (#25866719)
> Although python actually comes with a fair amount of functional data structures out of the box (str, bytes, tuple, frozenset, namedtuple, …) none of them can be “updated” efficiently.

If they can’t be updated efficiently, they are just immutable than particularly functional.

Re:Toolz: A functional standard library for Python by patrec on Friday January 22, 2021 @03:58AM (#25869777)
Of course I agree that calling such data structures immutable is more precise, but it's still in contrast to both imperative programming and imperative data structures. In particular every single functional language (including the purest of the pure) fairly heavily use immutable array based structures in one way or other. So if functional programming requires only using data structures with structural sharing, there are no functional programming languages.