Skip to content

Instantly share code, notes, and snippets.

Created Apr 13, 2016
What would you like to do?
infix operator { associativity right precedence 140 }
func <T, U, V>(g: U -> V, f: T -> U) -> T -> V {
return { t in
return g(f(t))
func composed_setResizedImage(withURL url: NSURL) {
let fetchResizedUrl = fetchData requestForImageUrl photonize(forSize: frame.size)
fetchResizedUrl(url)({ data in
then: applyImageInMainQueue(to: self)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment