Skip to content

Commit

Permalink
Entries for "Sum" and "Product".
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesperber committed Jul 26, 2024
1 parent 318ab78 commit f8f31fd
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/1-terms/P/0-structure.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include::term-performance-efficiency-quality-attribute.adoc[{include_configurati
include::term-perspective.adoc[{include_configuration}]
include::term-pikachu.adoc[{include_configuration}]
include::term-pipe.adoc[{include_configuration}]
include::term-product.adoc[{include_configuration}]
include::term-pki.adoc[{include_configuration}]
include::term-port.adoc[{include_configuration}]
include::term-portability-quality-attribute.adoc[{include_configuration}]
Expand Down
37 changes: 37 additions & 0 deletions docs/1-terms/P/term-product.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[#term-product]

// tag::EN[]
==== Product

Product data is data whose values have several, fixed attributes.
Also known as *records*, *structs*, *tuples* or *and data*.

Example:

An *address* has the following attributes:

- name, and
- street, and
- street number, and
- city, and
- zip code

// end::EN[]

// tag::DE[]
==== Produkt

Produktdaten sind solche, deren Werte mehrere, feststehende Attribute
haben. Auch als *Records*, *Structs*, *Tupel* oder *Und-Daten* bezeichnet.

Beispiel:

Eine *Adresse* hat die folgenden Attribute:

- Name und
- Straße und
- Hausnummer und
- Stadt und
- Postleitzahl

// end::DE[]
1 change: 1 addition & 0 deletions docs/1-terms/S/0-structure.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ include::term-stable-dependencies-principle.adoc[{include_configuration}]
include::term-stakeholder.adoc[{include_configuration}]
include::term-structural-element.adoc[{include_configuration}]
include::term-structure.adoc[{include_configuration}]
include::term-sum.adoc[{include_configuration}]
include::term-symmetric-cryptography.adoc[{include_configuration}]
include::term-system-of-interest.adoc[{include_configuration}]
include::term-system.adoc[{include_configuration}]
34 changes: 34 additions & 0 deletions docs/1-terms/S/term-sum.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[#term-sum]

// tag::EN[]
==== Sum

Sum data is data that can be one of several distinct, but fixed types.
Also known as *discriminated union*, *dijoint union*,
*mixed data* or *or data*.

Example:

A *geometric shape* is one of the following:

- a square, or
- a circle, or
- a triangle

// end::EN[]

// tag::DE[]
==== Summe

Summendaten sind solche, bei denen ein Wert zu einem von mehreren
verschiedenen aber festehenden Typen gehört. Auch als *direkte Summe*
oder *gemischte Daten* oder *Oder_Daten* bezeichnet.

Beispiel:

Eine *geometrische Figur* ist eine der folgenden:

- ein Quadrat oder
- ein Kreis oder
- ein Dreieck
// end::DE[]

0 comments on commit f8f31fd

Please sign in to comment.