Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tinco
on Sept 21, 2013
|
parent
|
context
|
favorite
| on:
NASA Declares End to Deep Impact Comet Mission
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)
lelf
on Sept 21, 2013
[–]
It's just
secs = utcTimeToPOSIXSeconds . readTime defaultTimeLocale "%F"
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: