Skip to content

Instantly share code, notes, and snippets.

Artur Rymarz artrmz

Block or report user

Report or block artrmz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View with.swift
@discardableResult
@inlinable
private func with<T>(_ value: T, _ builder: (T) throws -> Void) rethrows -> T {
try builder(value)
return value
}
// Use
class MyClass {
var prop = "it's"
@umpirsky
umpirsky / A.markdown
Last active Apr 13, 2019 — forked from olivierlacan/An_example.markdown
Sublime Text Monokai Sidebar Theme.
View A.markdown
You can’t perform that action at this time.