News for hackers. Stuff that matters.
Re:Fable: F# to JavaScript compiler by microcolonel on Sunday October 29, 2017 @11:41PM (#15582970)
> you can just cast JSON object to F# records and it'll work

Isn't a "JSON object" just a string?

Re:Fable: F# to JavaScript compiler by TomMarius on Monday October 30, 2017 @04:25AM (#15583669)
He probably wanted to say "plain JS object", which is denoted in JSON. You can put JSON in a string, but the syntax is called JSON as well.
Re:Fable: F# to JavaScript compiler by tpetricek on Monday October 30, 2017 @08:14AM (#15584418)
Yes, that's what I meant, thanks :-). The idea is that you can just write `unbox<MyType>(jsonParse("{whatever:42}"))`.