Skip to content

Instantly share code, notes, and snippets.

@Pasanpr
Created February 2, 2017 22:19
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Pasanpr/21bcc70e4511703de79f125fbdb44771 to your computer and use it in GitHub Desktop.
var description: String {
var output = "["
var node = head
while node != nil {
output += "\(node!.key)"
node = node!.next
if node != nil { output += ", " }
}
return output + "]"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment