These are chat archives for got-lambda/expression

8th
Nov 2018
Jean-Louis Giordano
@Jell
Nov 08 2018 08:42
I'm not sure I follow the above, do you have a snippet of the whole thing @jolod?
jolod
@jolod
Nov 08 2018 13:01
@Zalastax Nope! I just moved on, and am now being defensive whenever I output the same reference twice. :-(
@Jell Not really. It was deep into a code snippet I was debugging, using the ROT.js library.
Had it been a proper project, I would've investigated it more. But now I'm just playing around with ROT.js and exploring some ideas.
Pierre Krafft
@Zalastax
Nov 08 2018 14:29
@jolod as I suspected: "Please be warned that if you log objects in the latest versions of Chrome and Firefox what you get logged on the console is a reference to the object, which is not necessarily the 'value' of the object at the moment in time you call console.log(), but it is the value of the object at the moment you click it open."
jolod
@jolod
Nov 08 2018 14:30
Yeah, I figured that was the case, but that is just crazy.
Pierre Krafft
@Zalastax
Nov 08 2018 14:32
It's very useful actually. You can do console.log and get hold of the object which you can then modify. Horrible but useful.
jolod
@jolod
Nov 08 2018 14:38
That operation not be called .log though.
Erik Svedäng
@eriksvedang
Nov 08 2018 14:44
@ocramz "Julio" lol
Marco Zocca
@ocramz
Nov 08 2018 14:55
@eriksvedang ? :D
Erik Svedäng
@eriksvedang
Nov 08 2018 14:56
the Julia in haskell project
just such a good name
Marco Zocca
@ocramz
Nov 08 2018 15:05
oh :D
jolod
@jolod
Nov 08 2018 15:11
@ocramz The link you wrote has disappeared from gitter for me. I got a notification about it, but it's just not there in the channel.
Marco Zocca
@ocramz
Nov 08 2018 15:57
@jolod nvm, it was a funny, related to your javascript adventures
@eriksvedang oh so you follow datahaskell as well?
kewl!
Erik Svedäng
@eriksvedang
Nov 08 2018 17:53
I did, then I stopped, now I do again! I'm taking a math class at chalmers and we use matlab, which made me long for something better... :)