Hacker News new | past | comments | ask | show | jobs | submit login

Ouch, so many side-effects. My scheme instincts are wincing.



    ; Perhaps you would prefer monadic clojure?
    ; We wouldn't want to make it look too alien ;)
    (with-monad state-m
      (defn m-advice [your-brain spurious-advice?] 
        (if spurious-advice? 
          (m-chain (make-highly-subjective-claims
                   eliminate-good-candidates-for-specious-reasons
                   arive-at-questionable-conclusion) your-brain)
          (m-chain ((m-understanding-broadener :programming)
                   be-able-to-evaluate-multiple-solutions-for-problem) your-brain))))


Oddly enough, that did make me feel better. It's strange how encapsulating the side-effects in a state monad can be so soothing.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: