Skip to main content
9 events
when toggle format what by license comment
Mar 15, 2019 at 21:34 history edited Leo Dabus CC BY-SA 4.0
added 47 characters in body
Nov 29, 2018 at 22:24 history edited Leo Dabus CC BY-SA 4.0
added 21 characters in body
Oct 3, 2018 at 21:41 history edited Leo Dabus CC BY-SA 4.0
added 62 characters in body
Oct 2, 2017 at 12:58 history edited Alexander CC BY-SA 3.0
deleted 15 characters in body
Oct 2, 2017 at 3:34 vote accept Chen Li Yong
Oct 2, 2017 at 3:34 comment added Chen Li Yong Oh wow, @discardableResult, Equatable, Element, I'm learning so much things in just one post! I've been thinking about how to make a result discardable so I don't need to use _ = ... but didn't know that such thing exists so I never look it up. Thanks!!!
Oct 2, 2017 at 3:31 history edited Leo Dabus CC BY-SA 3.0
added 230 characters in body
Oct 2, 2017 at 3:30 comment added Alexander If Element is Equatable, you can just use !contains(element)
Oct 2, 2017 at 3:29 history answered Leo Dabus CC BY-SA 3.0