Path: csiph.com!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Patricia Ferreira Newsgroups: pt.comp.programacao Subject: compilador, um amigo Date: Mon, 29 Jan 2024 20:44:10 -0300 Organization: A noiseless patient Spider Lines: 23 Message-ID: <87h6ivyab9.fsf@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: dont-email.me; posting-host="2ba2658f65e8ec60da22f377592b0172"; logging-data="710990"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18678SZSFUDpbF0yPJldt/BcG0D4LjNRhg=" Cancel-Lock: sha1:gNtNbwP8VYDJoiiOTgi2YY2gva8= sha1:OGysr7PLbrRGyI+F7uObAfqfm4g= Xref: csiph.com pt.comp.programacao:212 Um bom compilador é um amigo. --8<---------------cut here---------------start------------->8--- The value 65 is not of type LIST when binding SB-IMPL::X Backtrace for: # 0: (SB-IMPL::APPEND2 65 (13 10)) [external] 1: (NNTPD::ADD-CRLF-BETWEEN (65 82 84 73 67 76 69 32 102 101 116 99 ...)) 2: (NNTPD::CMD-HELP #S(NNTPD::REQUEST :VERB "HELP" :ARGS NIL :SAID "help")) 3: (MAIN-LOOP) --8<---------------cut here---------------end--------------->8--- Bem óbvio o problema---eventualmente tentei fazer (append 65 (13 10)), mas 65 não é uma lista. Racket não é assim mesmo. Racket mostra o stack trace---se você explicitamente pedir porque não é o padrão---, mas você não vê os valores na pilha. Faz enorme diferença. Tem os que vão dizer que a tipagem deveria ser estática, mas, se fosse, a gente também não veria a sequência de chamadas com tamanha clareza.