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

Almost right :)

  function decide(connected) {
    if (connected || Math.random() < .01) {
      return "term sheet"
    } else {
      return "keep us updated on your progress"
    }
  }



decision :: ([slides], hope, naivety, GSachsClient) -> greaterFool

naivety = foldl hope slides

map naivety GSachsClient

ah who am I kidding, I could never get the hang of monads anyway.




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

Search: