targetstorm
2018-1-1 17:14:07

@lexi.lambda that seems like a fairly major non-starter for people who actively develop the native code being used from their racket code… I’ll take a look at the dlclose function. If that doesn’t work are there good alternatives to Dr Racket?


targetstorm
2018-1-1 17:25:46

Ah it looks like Dr Racket would have needed to make this call. I was thinking this was a Racket function in ffi-lib that I could make to unload the dll.


targetstorm
2018-1-1 17:26:00

Looks like I’m going to be looking for a different code editor :confused:


kirisky
2018-1-1 20:19:07

@kirisky has joined the channel


slack1
2018-1-1 22:23:51

lol dyoo-while-loop


bthesorceror
2018-1-2 00:23:29

@bthesorceror has joined the channel


slack1
2018-1-2 04:07:48

Is there a way to treat a hash like a lambda when using a map, other than wrapping it around a lambda?


brendan
2018-1-2 04:14:19

(curry hash-ref $MY_HASH)?


slack1
2018-1-2 04:19:28

oh… I feel silly


slack1
2018-1-2 04:19:35

now it feels so simple


brendan
2018-1-2 04:19:53

I would recommend using a lambda here, but it’s up to you


slack1
2018-1-2 04:20:11

I’m admittedly trying to reduce the parens


slack1
2018-1-2 04:21:00

why the lambda btw?


brendan
2018-1-2 04:26:56

I think it’s a little clearer. I’m a huge fan of auto-currying, but I think using a function to explicitly curry is ugly, and that it looks nicer to just use a lambda


dedbox
2018-1-2 06:59:59

FWIW, curry is just a procedure that makes the lambda for you.