Skip to main content
21 events
when toggle format what by license comment
May 10, 2018 at 20:35 answer added Peilonrayz timeline score: 1
May 10, 2018 at 20:09 history reopened Peilonrayz
vnp
Mast
Sᴀᴍ Onᴇᴌᴀ
Gareth Rees
May 10, 2018 at 19:56 comment added Sriotchilism O'Zaic @Peilonrayz They are incredibly similar. Which is one of the reasons I have a Haskell implementation that repurposes Haskell's Maybe. The big thing is that None is a bit confusing because it is intended to mean all and in english that doesn't make much sense.
May 10, 2018 at 19:51 comment added Peilonrayz I guess it must be my untrained eye, but Option looks the same. pub enum Option<T> {None, Some(T)}.
May 10, 2018 at 19:42 review Reopen votes
May 10, 2018 at 20:13
May 10, 2018 at 19:39 comment added Sriotchilism O'Zaic @Peilonrayz Rust's Option is pretty much equivalent to Haskell's Maybe, the rust equivalent of my amount might be pub enum Amount{All,Some(u32)} (with addition then defined).
May 10, 2018 at 19:26 comment added Peilonrayz Looks like a pretty nice question :) I hope it gets reopened :) I've not used Haskell, is this kinda like Some and None in Rust, but changed a bit for numbers?
May 10, 2018 at 19:21 comment added Sriotchilism O'Zaic @vnp I've gone ahead and given the question a makeover. Hopefully now it is not asking for a solution other than the ones I have provided.
May 10, 2018 at 19:20 history edited Sriotchilism O'Zaic CC BY-SA 4.0
Redid everything
May 10, 2018 at 18:45 history undeleted Sriotchilism O'Zaic
Peilonrayz
Vogel612
Apr 21, 2018 at 3:00 history deleted CommunityBot Scheduled: RemoveAbandonedClosed
Apr 11, 2018 at 14:49 review Reopen votes
Apr 11, 2018 at 14:58
Apr 11, 2018 at 14:32 history edited Sriotchilism O'Zaic CC BY-SA 3.0
added 2 characters in body
Apr 11, 2018 at 5:50 history closed vnp
Stephen Rauch
Sᴀᴍ Onᴇᴌᴀ
hjpotter92
Raystafarian
Not suitable for this site
Apr 11, 2018 at 5:50 comment added Raystafarian You're offering varying degrees of code and it's unclear what you're using and therefor difficult to review. Also, I'm not a pro, but it seems like you're talking about two different languages
Apr 11, 2018 at 0:59 review Close votes
Apr 11, 2018 at 5:50
Apr 11, 2018 at 0:49 comment added vnp A gut feeling: we are not asked to review, but to suggest something radically different. I think SO is really a better place.
Apr 11, 2018 at 0:48 comment added Sriotchilism O'Zaic @vnp Can I ask why it is off topic? I read through the help center before asking (and again just now) and it seemed to be on topic by all the criteria listed there.
Apr 11, 2018 at 0:43 comment added vnp If I understand you correctly, None is a good candidate for your All (akin to Maybe solution). That said, I am afraid that the question is off-topic here.
Apr 11, 2018 at 0:43 history edited Phrancis
edited tags
Apr 11, 2018 at 0:26 history asked Sriotchilism O'Zaic CC BY-SA 3.0