IRC channel logs

2024-07-26.log

back to list of logs

<abcdw>why changing parameter type from (ref string) to (ref eq) makes jslog to stop printing anything? (define-foreign jslog "console" "log" (ref string) -> (ref null extern))
<dthompson>abcdw: because wasm values are opaque to the host. js can't introspect them.
<dthompson>likewise, host values are opaque to wasm.
<dthompson>passing a (ref string) to js is actually doing a conversion from scheme string to host string