小编sac*_*don的帖子

Mac 上的 Haskell 程序出现 Glut 错误

我正在尝试运行一个必须使用 GLUT (绘制形状)的 Haskell 程序,但我收到此错误消息:

*** Exception: user error (unknown GLUT entry glutSetOption)

我的程序可以运行,但在 Linux 上运行时出现 GLUT 问题

所以我只在我的 Mac 上遇到这个问题..

macos glut haskell

5
推荐指数
1
解决办法
356
查看次数

Haskell Tail Split

这就是我想要做的:

如果我给 $hello world我,我会得到world

我在做什么是这样的:

tail (unwords (words "$hello world")) 但我得到了 "hello world"不是world

为了做到这一点,我该怎么办?

string haskell split tail

2
推荐指数
1
解决办法
299
查看次数

标签 统计

haskell ×2

glut ×1

macos ×1

split ×1

string ×1

tail ×1