clr

Anders Eknert 2023-01-15T00:57:08.428139Z

What would the ClojureCLR equivalent form of (Class/forName "[B") be? I want to match on a byte array in an extend-protocol construct.

dmiller 2023-01-15T02:05:01.002669Z

user=> (Type/GetType "System.Byte[]")
System.Byte[]

👍 1
dmiller 2023-01-15T02:05:32.734319Z

Start collecting all these for a FAQ?

💯 3
bobcalco 2023-01-15T21:57:55.930319Z

Yes! I was going to ask we start doing this somewhere.

Anders Eknert 2023-01-15T06:43:24.812739Z

That’s a good idea! I’ll can start compiling one from those I know. Hopefully others can contribute their tricks.