I think ‘elem’ will do what you want. -- Sent from my phoneamajig
> On Nov 3, 2019, at 14:07, Hendrik Boom <[email protected]> wrote: > > I've tried defining a function that reads a file, and then tries to > pass it back to be part of a scribble document. > > Unfortunately, the list returned needs to be processed somehow before I > can return it. > > Just returning the raw text results in complaints. Apparently a list > of items needs to bave some kind of prefix or wrapper is if it to be > accepted. > > I can get it to work by applying italic to it: > > (define (include-here s) > (let* ((in (open-input-file s)) > (text (read-inside in)) > ) > (apply italic text) > ) > ) > > This works just fine, except that I do not want italics. > I really want not to specify a style at all. > Is there some kind of wrapper that lets me do that? > > I guess I need something like an identity wrapper. > > -- hendrik > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/racket-users/20191103220714.grt7v4tojaudvgmu%40topoi.pooq.com. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/D9E94125-71E7-4C89-9D5F-581374252A28%40williamjbowman.com.

