• 19 Posts
  • 196 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
    ·
    8 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.


  • someacnt@sh.itjust.workstoScience Memes@mander.xyzGirls
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    8 days ago

    Soo am I supposed to tolerate physicists casually integrating random shit like connections? And haphazardly normalizing integrals that does not converge? Damnit, you can’t even give even loose sense of ‘measure’ to these spaces! How should I tolerate these as a mathematician?