how to make HTML from a list in scheme, racket
问题 This is a very long question ... I am new and joined, so please don't attack me. Apologies for my bad communications in English. I have some defintions: An HTML(H) is one of Str Tag A Tag is (cons Sym (listof H)) I want to use mutual recursion,make the HTML into real HTML code. For example, (list 'html (list 'head (list 'title "Hi")) (list 'body (list 'h1 "Welcome") "Text")) Turns into: "<html><head><title>Hi</title></head><body><h1>Welcome</h1>Text</body></html>" This should work for any