15

Haskell has a type called Maybe. This is an Option Type. I've broadened the tag now such that it includes the Maybe type in Haskell. I suggest we make the following synonyms for .

This is also how Wikipedia documents it.

8
  • 15
    Carly Rae would prefer to keep the tag as is. Commented Oct 12, 2021 at 3:01
  • If we really want to merge [maybe] into [option-type] then we may also think about merging optional into [option-type]
    – Lino
    Commented Oct 12, 2021 at 9:44
  • 9
    @DanielWiddis: That's title worthy: Merge me, [maybe]
    – kjhughes
    Commented Oct 12, 2021 at 19:23
  • @Lino upgrading question to include that too good catch. Commented Oct 13, 2021 at 3:44
  • 6
    @DanielWiddis I thought Carly Rae Jepsen's song was about the ? operator in the expression me?() where me is either a function or null.
    – kaya3
    Commented Oct 13, 2021 at 13:35
  • @ZoestandswithUkraine - I see that options got synonymized to option-type -- but the latter has only 18 questions while the former had 3,319. Did something go wrong?
    – dbc
    Commented Aug 31, 2022 at 16:11
  • @dbc I thought it was strange it let me synonymize those. I'll do a merge, that should sort out the rest. I shouldn't really have been able to make those synonyms to begin with; [optional] is substantially larger than option-type. The system normally blocks those and requires a merge to bypass Commented Aug 31, 2022 at 16:13
  • 2
    Merging fixed it. All good now Commented Aug 31, 2022 at 16:15

0

You must log in to answer this question.

Browse other questions tagged .