在拥抱中启用-98?
每当我开始拥抱时,它总是说
Haskell 98 mode: Restart with command line option -98 to enable extensions
你到底是怎么做到的?
Whenever I start Hugs, it always says
Haskell 98 mode: Restart with command line option -98 to enable extensions
How exactly do you do that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您从命令行(Bash 提示符、Windows 命令提示符等)启动它,只需将命令从
...
更改为... -98
。 (例如,如果您一直在运行命令haskell
,那么您现在将运行命令haskell -98
。)如果您从Windows,例如开始菜单项,您必须修改该快捷方式:右键单击,选择“属性”,然后将“目标”从
...
(无论现在是什么)更改为 <代码>...-98 (无论现在是什么,加上一个空格、一个连字符和九十八)。If you're launching it from a command-line (Bash prompt, Windows Command Prompt, or the like), you would just change your command from
...
to... -98
. (For example, if you've been running the commandhaskell
, you would now run the commandhaskell -98
.)If you're launching it from a shortcut icon in Windows, such as a start-menu item, you have to modify that shortcut: right-click, select "Properties", and change "Target" from
...
(whatever it is now) to... -98
(whatever it is now, plus a space, a hyphen, and ninety-eight).好吧,只需添加
-98
作为命令行选项...请参阅 拥抱手册,第 7 节。
Well, just add
-98
as command line option ...See Hugs manual, section 7.