Is there can convert the stuff read from input port to some specific type in Racket? like turning the stuff read from piped port into a defined struct? if not, then how can process communication resume those data types passed back and forth?
Share
Read about the
racket/serializelibrary in the guide and also see the#:prefaboption forstructthat can create struct types that can always be read withread— it’s also described in the chapter on structs in the guide.