Merge pull request #1 from dominika-kokowicz/main

Typo fixes

Removes to good name.
This commit is contained in:
Lukasz 2022-08-17 21:29:43 +02:00 committed by Lukasz Stocki
commit 6719b1551a
2 changed files with 4 additions and 6 deletions

View File

@ -3,7 +3,7 @@
/*:
Alias for function type. Makes signatures of higher order functions more managable.
Alias for function type. Makes signatures of higher order functions more manageable.
*/
@ -20,7 +20,7 @@ public typealias Closure8I<I1,I2,I3,I4,I5,I6,I7, I8, O> = (I1, I2, I3, I4, I5, I
/*:
# Producers
Functions that can return an instacne of some type.
Functions that can return an instance of some type.
*/
public typealias Producer<T> = () -> T
@ -36,5 +36,5 @@ public typealias AsyncClosure6I<I1,I2,I3,I4,I5,I6, O> = (I1, I2, I3, I4,
public typealias AsyncClosure7I<I1,I2,I3,I4,I5,I6,I7, O> = (I1, I2, I3, I4, I5, I6, I7) async -> O
public typealias AsyncClosure8I<I1,I2,I3,I4,I5,I6,I7, I8, O> = (I1, I2, I3, I4, I5, I6, I7, I8) async -> O
/// Asynchronus function returning some value.
/// Asynchronous function returning some value.
public typealias AsyncProducer<T> = () async -> T

View File

@ -17,8 +17,6 @@ import Foundation
*/
public typealias SideEffect = Void
public typealias SideEffectClosure = () -> Void
// MARK: - Consumers Closures
@ -28,7 +26,7 @@ public typealias SideEffectClosure = () -> Void
# What is a consumer?
It's a function that takes some input and performs `SideEffect`.
Typicaly you can find them as many `handlers`.
Typically you can find them as many `handlers`.
*/