More specifically, how do you model a functional program, or one developed using the Functional Style (without classes) using a diagram, and not textual representation, is it at all possible and could someone please direct me towards the nearest application that would do this (open source, of free as in beer, if you please)
相关问题
- System sequence diagram - Can system request input
- Does Visual Studio 2010 Professional support UML m
- Relation between Function1 and Reader Monad
- Can a [GoF]-ConcreteSubject override the notify me
- scala passing function with underscore produces a
相关文章
- Is there something like the threading macro from C
- Learning F#: What books using other programming la
- Creating a list of functions using a loop in R
- Code Iris plugin on Android Studio
- When to use interfaces, and when to use higher ord
- Functors in Ocaml
- Java Lambda Referencing Enclosing Object: Replace
- Are 'currying' and 'composition' t
I guess you could create a class called
noclass
and put in functions as methods. Also, you might want to splitnoclass
into multiple categories of functions.To model a functional program, using a diagram, and not textual representation, you can use notation like the one used to program in Viskell or Luna
Functional programmers generally don't have a lot of use for diagrams. Many functional programmers (but not all) find that writing down types is a good way to encapsulate the design relationships that OO programmers put into UML diagrams.
Because mutable state is rare in functional programs, there are no mutable "objects", so it is not usually useful or necessary to diagram relationships among them. And while one function might call another, this property is usually not important to the overall design of a system but only to the implementation of the function doing the calling.
If I were feeling a strong need to diagram a functional program I might use a concept map in which types or functions play the role of concepts.