I would like to know if there are some tools and techniques for diagramming in functional languages like Lisp, Clojure, etc.
Something like UML in OOP languages, perhaps?
UML isn't only class diagrams. Most of the other diagram types (Use case diagrams, activity diagrams, sequence diagrams...) are perfectly applicable for a purely functional programming style.
Sequence diagrams are used to visualize both interactions within programs, business processes and IT infrastructures.
Functional programming has historically been less popular than imperative programming, but many functional languages are seeing use today in industry and education, including Common Lisp, Scheme, Clojure, Wolfram Language, Racket, Erlang, Elixir, OCaml, Haskell, and F#.
The so-called “functional” programming was a fad of the last couple of years. It's good that it is already going away! The big fish like Facebook and Microsoft have long ago realized the limitations of functional programming and the clear superiority of object-oriented approaches to code organization.
Sourcegraph for Haskell gives you a graphical rapresentation of Haskell Code.
Take a look at the documentation, there are some examples.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With