Created
May 17, 2020 19:30
-
-
Save eMdOS/f848fef545691103d81b4ded6af5f91a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension String: Monoid { | |
public static let empty: String = "" | |
} | |
extension Array: Monoid { | |
public static var empty: Array { [] } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment