Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Totally off-topic, but that looks a lot like Haskell, what did you do to make ghci have such handy calculator functionality? (I can't find secs in Hoogle)


It's just

  secs = utcTimeToPOSIXSeconds . readTime defaultTimeLocale "%F"




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

Search: