Flatten function/operation in functional programming

Flatten function/operation is what you want to apply to source code tree written in Java, like this:

├── hadoop-client-integration-tests
│   ├── pom.xml
│   └── src
│       └── test
│           ├── java
│           │   └── org
│           │       └── apache
│           │           └── hadoop
│           │               └── example
│           │                   ├── ITUseHadoopCodecs.java
│           │                   └── ITUseMiniCluster.java
│           └── resources
│               ├── hdfs-site.xml
│               └── log4j.properties

(the post first published at 20251208.)


List of my other blog posts. Subscribe to my news feed,
If you enjoy my work, you can support it on patreon.
Some time ago (before 24-Mar-2025) there was Disqus JS script for comments. I dropped it --- it was so motley, distracting, animated, with too much ads. I never liked it. Also, comments din't appeared correctly (Disqus was buggy). Also, my blog is too chamberlike --- not many people write comments here. So I decided to switch to the model I once had at least in 2020 --- send me your comments by email (don't forget to include URL to this blog post) and I will copy&paste it here manually.
Let's party like it's ~1993-1996, in this ultimate, radical and uncompromisingly primitive pre-web1.0-style blog and website. This website is best viewed under lynx/links/elinks/w3m.