How to change printing behaviour in DrRacket for R6RS to print results like with #lang racket

江枫思渺然 提交于 2019-12-30 11:09:10

问题


When I'm running a program in the IDE, version 5.3.5--2013-06-18(-/f), for #lang racket, eg.

#lang racket

(+ 4 5)
(/ 10 2)

When pressing Run >, the interaction window gets "9\n5\n" printed to the interactions window. The same version as R6RS

#!r6rs
(import (rnrs base))

(+ 4 5)
(/ 10 2)

It seems I get no output when pressing Run > when language is R6RS. Is there anywhere I can change this behavior, in Preferences perhaps?

来源:https://stackoverflow.com/questions/19624049/how-to-change-printing-behaviour-in-drracket-for-r6rs-to-print-results-like-with

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!