Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Option documentation and add MaybeSome function #9222

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Oct 25, 2024

  1. fn: add MaybeSome function

    Add a function `MaybeSome` that constructs an `Option` from a pointer.
    The function signature is: `MaybeSome : *A -> Option[A]`.
    
    This utility has proven useful in the taproot-assets project.
    ffranr committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    a5e6798 View commit details
    Browse the repository at this point in the history
  2. fn: fix documentation comment for Option

    Remove the type generic from the `Option` type struct in the doc
    comment.
    ffranr committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    1d8197d View commit details
    Browse the repository at this point in the history