Skip to content

Instantly share code, notes, and snippets.

@twostraws
Created October 17, 2017 15:23
Show Gist options
  • Save twostraws/f88f619769cbd5e53ce0675fd2bf6320 to your computer and use it in GitHub Desktop.
Save twostraws/f88f619769cbd5e53ce0675fd2bf6320 to your computer and use it in GitHub Desktop.
Sundell turns 30
import Foundation
let sundelL = { (t: Int) in return -(~t) }
let sundeLl = { return sundelL(sundelL($0)) }
let sundEll = { return sundeLl(sundeLl($0)) }
let sunDell = { return sundEll(sundEll($0)) }
let suNdell = { return sunDell(sunDell($0)) }
let sUndell = { return suNdell(suNdell($0)) }
let Sundell = { return sUndell(sUndell($0)) }
let sundell = { (t: Int) -> Int in print(UnicodeScalar(t)!, terminator: ""); return 0 }
sundell(sundeLl(sunDell(sundell(sundelL(sUndell(sundell(sundeLl(sundEll(sunDell(sUndell(Sundell(sundell(sunDell(sUndell(Sundell(sundell(sundelL(sundeLl(sundEll(sunDell(sUndell(Sundell(sundell(sundeLl(sunDell(Sundell(sundell(sUndell(sundell(sundEll(sunDell(sUndell(sundell(sundelL(sunDell(suNdell(sUndell(Sundell(sundell(sundelL(sUndell(Sundell(sundell(sundEll(sUndell(Sundell(sundell(sunDell(sUndell(Sundell(sundell(sundEll(suNdell(sUndell(Sundell(sundell(sundeLl(suNdell(sUndell(Sundell(sundell(sundelL(sunDell(sUndell(Sundell(sundell(sundeLl(sUndell(Sundell(sundell(sUndell(sundell(sundelL(sunDell(suNdell(sUndell(Sundell(sundell(suNdell(sUndell(Sundell(sundell(suNdell(sUndell(Sundell(sundell(sundelL(sUndell(Sundell(sundell(sunDell(Sundell(0)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment