我发现这样的代码在书中“真实世界哈斯克尔”,P68 data Tree a = Node a (Tree a) (Tree a)
| Empty
deriving (Show)
nodeAreSame (Node a _ _) (Node b _ _)
| a == b = Just a
nodeAreSame _ _ = Nothing
我的
我试图编译程序与CC编译器,但在终端运行命令时: cc –o sm hw33.c random.c stopwatch.c –lm
我得到这个错误: cc: error: –o: No such file or directory
cc: error: sm: No such file or directory
cc: error: –lm: No such file or directo