Skip to content

Commit ed3a8e4

Browse files
BenjaminBrodwolfgitbook-bot
authored andcommitted
GitBook: [master] 16 pages modified
1 parent 4e0f7b1 commit ed3a8e4

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

forschungsarbeit-ip6-fortschrittliche-abstraktionen-im-lambda-kalkuel/box-maybebox.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ Stream(1,2,3,4)
213213
(fold)( filter(x => x > 4) )
214214
```
215215

216-
### [HttpGet](observable.md#observable-httpget-joke-example)
216+
### [HttpGet](observable.md#implementation-2)
217217

218218
```javascript
219219
// Synchron

forschungsarbeit-ip6-fortschrittliche-abstraktionen-im-lambda-kalkuel/observable.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ Für den vollen Code: [**observableHttpGetJokeExample.js**](https://github.com/m
337337
Die Titel der Funktionen sind mit einem Link zur Implementation verknüpft.
338338
{% endhint %}
339339
340-
### [Observable](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/951d8489290b05391cb71abdfed25bb2666aa76c/src/observable/observable.js#L41)
340+
### [Observable](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/4e0f7b13ae1755088f0a61a916ff28242721ad23/src/observable/observable.js#L41)
341341
342342
Die Funktion `Observable` nimmt einen initialen Startwert und erstellt ein Observable.
343343
@@ -352,7 +352,7 @@ const obsExample = Observable(0)
352352
353353
### **Observable-Funktionen**
354354

355-
#### [observableBody](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/951d8489290b05391cb71abdfed25bb2666aa76c/src/observable/observable.js#L25) \(der Kern des Observable\)
355+
#### [observableBody](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/4e0f7b13ae1755088f0a61a916ff28242721ad23/src/observable/observable.js#L25) \(der Kern des Observable\)
356356

357357
```javascript
358358
// Implementation
@@ -397,7 +397,7 @@ obsExample = obsExample( addListener )( listenerLog ) // hinzufügen nicht mö
397397
```
398398
{% endhint %}
399399

400-
### \*\*\*\*[**addListener**](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/951d8489290b05391cb71abdfed25bb2666aa76c/src/observable/observable.js#L95)\*\*\*\*
400+
### \*\*\*\*[**addListener**](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/4e0f7b13ae1755088f0a61a916ff28242721ad23/src/observable/observable.js#L95)\*\*\*\*
401401

402402
Mit der Funktion `addListener` wird dem Observable ein neuer Listener hinzugefügt.
403403

@@ -425,7 +425,7 @@ Das Observable sollte nicht mit mehr als 5'000 Listener verbunden werden, weil a
425425
Mit bis zu 100 Listener und vielen Wertänderungen \(zb. 100'000\) auf einmal hat das Observable kein Problem.
426426
{% endhint %}
427427
428-
### [removeListener](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/951d8489290b05391cb71abdfed25bb2666aa76c/src/observable/observable.js#L156)
428+
### [removeListener](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/4e0f7b13ae1755088f0a61a916ff28242721ad23/src/observable/observable.js#L156)
429429
430430
Die Funktion `removeListener` entfernt den übergebenen Listener aus dem Observable.
431431
@@ -444,7 +444,7 @@ let obsExample = Observable(0)
444444
obsExample = obsExample(removeListener)( listenerLog );
445445
```
446446
447-
### [removeListenerByKey](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/951d8489290b05391cb71abdfed25bb2666aa76c/src/observable/observable.js#L125)
447+
### [removeListenerByKey](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/4e0f7b13ae1755088f0a61a916ff28242721ad23/src/observable/observable.js#L125)
448448
449449
Die Funktion `removeListenerByKey` entfernt ein Listener aus dem Observable anhand des übergeben Schlüssels.
450450
@@ -463,7 +463,7 @@ let obsExample = Observable(0)
463463
obsExample = obsExample(removeListenerByKey)(42)
464464
```
465465
466-
### \*\*\*\*[**setValue**](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/951d8489290b05391cb71abdfed25bb2666aa76c/src/observable/observable.js#L59)\*\*\*\*
466+
### \*\*\*\*[**setValue**](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/4e0f7b13ae1755088f0a61a916ff28242721ad23/src/observable/observable.js#L59)\*\*\*\*
467467
468468
Mit der Funktion `setValue` wird dem Observable ein neuer Wert gegeben. Das Observable informiert danach alle Listener.
469469
@@ -482,7 +482,7 @@ testObs = testObs(setValue)(42)
482482
testObs(getValue) // 42
483483
```
484484
485-
### \*\*\*\*[**getValue**](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/951d8489290b05391cb71abdfed25bb2666aa76c/src/observable/observable.js#L80)\*\*\*\*
485+
### \*\*\*\*[**getValue**](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/4e0f7b13ae1755088f0a61a916ff28242721ad23/src/observable/observable.js#L80)\*\*\*\*
486486
487487
Mit der Funktion `getValue` erhält man den aktuellen Wert vom Observable.
488488
@@ -519,7 +519,7 @@ const newListener = listenerFn => pair(generateRandomKey())(listenerFn);
519519
const listenerLog = newListenerWithCustomKey(42)(listenerLogToConsole);
520520
```
521521
522-
### \*\*\*\*[**newListener**](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/951d8489290b05391cb71abdfed25bb2666aa76c/src/observable/observable.js#L187)\*\*\*\*
522+
### \*\*\*\*[**newListener**](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/4e0f7b13ae1755088f0a61a916ff28242721ad23/src/observable/observable.js#L187)\*\*\*\*
523523
524524
Mit der Funktion `newListener` wir ein neuer Listener erstell. Der Key muss im Vergleich zu `newListenerWithCustomKey` nicht angeben werden, weil dieser automatisch generiert wird.
525525
@@ -536,7 +536,7 @@ const listenerLog = newListener(listenerLogToConsole);
536536
Der `generateRandomKey` erzeugt einen String der Länge sechs mit zufälligen Buchstaben \(Gross-/Kleinschreibung\) & Zahlen. Siehe implementation: [generateRandomKey](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/2f832eda3d66603b5901aaa060baf4e96a514512/src/observable/observableExamples/observableUtilities.js#L11)
537537
{% endhint %}
538538
539-
### [setListenerKey](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/951d8489290b05391cb71abdfed25bb2666aa76c/src/observable/observable.js#L202)
539+
### [setListenerKey](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/4e0f7b13ae1755088f0a61a916ff28242721ad23/src/observable/observable.js#L202)
540540
541541
Mit der Funktion `setListenerKey` wird einem Listener ein neuer Schlüssel zugewiesen.
542542
@@ -550,7 +550,7 @@ let listenerLog = newListener(listenerLogToConsole);
550550
listenerLog = setListenerKey( listenerLog )(42)
551551
```
552552
553-
### [getListenerKey](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/951d8489290b05391cb71abdfed25bb2666aa76c/src/observable/observable.js#L217%20)
553+
### [getListenerKey](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/4e0f7b13ae1755088f0a61a916ff28242721ad23/src/observable/observable.js#L217)
554554
555555
Mit der Funktion `getListenerKey` wird der Schlüssel von einem Listener abgefragt.
556556
@@ -568,7 +568,7 @@ getListenerKey( listenerLog ) // 42
568568
569569
## Helferfunktion
570570
571-
### [logListenersToConsole](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/951d8489290b05391cb71abdfed25bb2666aa76c/src/observable/observable.js#L226)
571+
### [logListenersToConsole](https://github.com/mattwolf-corporation/ip6_lambda-calculus-in-js/blob/4e0f7b13ae1755088f0a61a916ff28242721ad23/src/observable/observable.js#L226)
572572
573573
Mit der Funktion `logListenersToConsole` werden die Listener eines Observables auf der JavaScript Konsole ausgegeben.
574574

0 commit comments

Comments
 (0)