• 16 Posts
  • 73 Comments
Joined 11 months ago
cake
Cake day: December 8th, 2024

help-circle





  • someacnt@sh.itjust.workstoProgrammer Humor@programming.devMonads
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    21 days ago

    Monad is (a classes of type of) a collapsible container. Collapsible, like how you can flatten a nested list, or Option<Option<A>> can be flattened to Option<A>.

    A common pattern with monads is the flatMap function, where you apply function A -> List<B> to (each element of) List<A> to obtain List<B>. This happen to represent erroneous call chaining with Option or Result types.









  • Regarding the first point:

    This does not mean that Google is making Android a closed-source platform, but rather that the open-source aspect will only be released when a new branch is released to AOSP with those changes, including when new full versions or maintenance releases are finished.

    It seems like the particular news does not mean android is increasingly going closed-source, just that the dev branch will be private. Is there an evidence that they are taking components out of AOSP?