Live data from Hacker News

Viewing profile — throwaway487549

throwaway487549

HN member
Joined
Sat, Nov 24, 2018, 4:17 AM UTC
HN karma
-13
Public activity
16 items

About throwaway487549

No profile information was provided.

Recent public activity

  1. comment
    Comment #18600462

    It is all about choosing secondary roads, exactly the way Robert M. Pirsig emphasized. I (foreigner) rode 18,000 km on an Enfield bike all over Indian Himalayas. Someday I will boo…

  2. comment
    Comment #18575604

    Intuition is, so to speak, an attempt to match against evolved brain structures which reflects some constraints of the environment in which it has been evolved. Babies could read f…

  3. comment
    Comment #18566298

    I would love to have type-clases a-la Haskell (implicits with parametric polymorphism, which is dead-simple and well understood) and universal pattern matching everywhere, but this…

  4. comment
    Comment #18543493

    Oh, applying a poorly understood abstract concepts to poorly understood vastly complex and still intractable stochastic process, which is what real genetics is. (daily reminder - e…

  5. comment
    Comment #18525413

    Yes, it was really good read, thank you. I hope I could write as clearly. Look, however, at the use of "is" in my comment and yours. You are applying "is" to some abstract, nonexis…

  6. comment
    Comment #18523008

    Promises and futures in Scala standard library and in Akka have nothing to do with Monads.

  7. comment
    Comment #18521767

    May be. I think a Monad is an abstraction which generalizes a transition, similar to a step of logical deduction. It Haskell a similar concept is actually used to compose what they…

  8. comment
    Comment #18521700

    > there is no other way to talk about values that have not been evaluated yet. There is a way, and it is known since at least R5RS. https://www.gnu.org/software/mit-scheme/document…

  9. comment
    Comment #18521665

    To be a Monad you have to implement at least 2 functions >>= , and return , which must follow so called Monadic laws (of proper composition - associativity, etc). flatMap is just a…

  10. comment
    Comment #18521632

    > JS is a strongly typed Strongly typed implies no implicit coersions at runtime. Python is strongly typed. JS or PHP are weakly typed.

  11. comment
    Comment #18521029

    And this is meaningful only in the context of a lazy language. In the context of strict, statically typed language an algebraic Option type is good-enough.

  12. comment
    Comment #18520905

    This isomorphism has no meaning. It is also isomorphic to logical OR, if you wish. Shall we wrap OR into a Monad?

  13. comment
    Comment #18520900

    > Promises do that are simpler and do not form a monad? Promise is just an Abstract Data Type. It does not have to be an instance of a Monad. https://docs.racket-lang.org/referenc/…

  14. comment
    Comment #18520722

    That means they do meaningless unnecessary wrapping too. It is even more ridiculous for a weak-typed language. The only point of a Monad is that in a lazy language it desugars into…

  15. comment
    Comment #18520540

    Option type is just an algebraic data type. datatype 'a option = None | Some of 'a

  16. comment
    Comment #18520427

    This is exactly what is called "unnecessary wrapping". There is no meaning in wrapping anything into a Monad in a strict language, where the order of evaluation is well-defined, na…