Skip to content

Commit

Permalink
Merge branch 'main' into solutions
Browse files Browse the repository at this point in the history
  • Loading branch information
basdgrt committed Oct 24, 2023
2 parents 568b1e0 + 614e081 commit ebcd7fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import java.util.*
*
* 2. Write an extension function on [Either<A,B>] called [fold] which accepts 2 functions as arguments. The first
* is called [ifLeft] of type (A) -> Unit, the second is called [ifRight] of type (B) -> Unit. Invoke [ifLeft] if
* you are dealing with an instance of [Either.Left] and invoke [Either.Right] if you have an instance of [Either.Right].
* you are dealing with an instance of [Either.Left] and invoke [ifRight] if you have an instance of [Either.Right].
*
* Uncomment the main function to validate your solution.
*/
Expand Down

0 comments on commit ebcd7fd

Please sign in to comment.