News for hackers. Stuff that matters.
Re:IBM releases Elm-powered app by StreamBright on Thursday January 10, 2019 @07:50AM (#18873447)
I gave you examples of using JS type safe way. You don't care. One question I alway use to tilt FP purist zealots:

How about Time.now()? :) Source of disturbance, it should not be allowed to be used in programming etc. etc.

Re:IBM releases Elm-powered app by yakshaving_jgt on Thursday January 10, 2019 @08:16AM (#18873565)
Uhh… What? I’m confused. Did you think this would be a smoking gun to your argument?

Of course Time.now() is an effectful routine.

This is not a strange idea to “FP purist zealots” either.

How is it defined in Elm?

  Time.now : Task x Posix
How is it defined in Haskell?

  Data.Time.Clock.getCurrentTime :: IO UTCTime
And no, you have not given any examples of using JavaScript in a type-safe way. If you think you have, it means you don’t adequately understand type-safety.