Skip to content

Commit

Permalink
Improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sungshik committed Sep 6, 2024
1 parent ed8b6b2 commit 27c26ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rascal-textmate-core/src/main/rascal/util/MaybeUtil.rsc
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ set[&T] unmaybe(Maybe[set[&T]] _: just(set[&T] \set))
= \set;

@synopsis{
Returns just the union of the sets of two `Maybe` values when present.
Returns nothing if absent.
Returns just the union of the sets of two `Maybe` values when both are
present. Returns nothing if at least one is absent.
}

Maybe[set[&T]] union(just(set[&T] set1), just(set[&T] set2))
Expand Down

0 comments on commit 27c26ef

Please sign in to comment.