Skip to content

Commit

Permalink
Rename mm to let
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Dec 6, 2023
1 parent d1b17d5 commit cebb276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/maybe.scala
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ extension [ValueType](maybe: Maybe[ValueType])
inline def fm[ValueType2](inline alternative: => ValueType2)(inline fn: ValueType => ValueType2): ValueType2 =
if unset then alternative else fn(vouch(using Unsafe))

inline def mm[ValueType2](inline fn: ValueType => ValueType2): Maybe[ValueType2] =
inline def let[ValueType2](inline fn: ValueType => ValueType2): Maybe[ValueType2] =
if unset then Unset else fn(vouch(using Unsafe))

extension [ValueType](iterable: Iterable[Maybe[ValueType]])
Expand Down

0 comments on commit cebb276

Please sign in to comment.