Visual Model For F# – Generalization

Generalization Generalization relationship, otherwise the inheritance, in the F # programming language is very similar to the inheritance in object-oriented programming. The following Listing 1 shows the syntax of inheritance in F#. type MyDerived(…) = inherit MyBase(…) Listing 1: Syntax of inheritance in F # programming language Type can inherit from only one base type/class…

Visual Model For F# – Module

Module In this post is showed a further element of the proposed modeling language, which is a module. The module for the F# programming language is a set of source code including elements such as types, values ​​and functions. By grouping code into modules it helps to avoid name conflicts in the program and maintains…