Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Diagramming in functional languages [closed]

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?

like image 401
Jarek Avatar asked Jul 31 '10 19:07

Jarek


People also ask

Can you use UML for functional programming?

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.

Which diagram is suitable to show the functions of a program?

Sequence diagrams are used to visualize both interactions within programs, business processes and IT infrastructures.

Is functional programming language still used?

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#.

Is functional programming a fad?

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.


1 Answers

Sourcegraph for Haskell gives you a graphical rapresentation of Haskell Code.

Take a look at the documentation, there are some examples.

like image 196
Luca Molteni Avatar answered Nov 15 '22 08:11

Luca Molteni