gamburg.m
2022-7-26 17:35:34

Hey all, I’m working on determining what programs the expander is able to flatten into a linklet s-expression, in particular, which libraries I am or am not able to import. For instance, the expander complains about the following program with linklets depend on pre-defined host instances that are not part of the runtime system...:

#lang racket/base (require (only-in racket/hash hash-union)) (hash 'foo 3 'bar 5) Of course, deleting the import gets rid of the problem. Assuming I need a linklet of a program that uses something from racket/hash, is there a way to import it without blowing up or will I need to re-implement it? (It also isn’t obvious to me what the cause of the issue is)