Compile Error
[1 of 1] Compiling Main ( /in/foo.hs, /tmp/Main.o ) /in/foo.hs:6:39: error: * Couldn't match type `Integer' with `(a0 -> a0 -> a0) -> Integer -> Integer' Expected type: [(a0 -> a0 -> a0) -> Integer -> Integer] Actual type: [Integer] * In the second argument of `map', namely `(li a b)' In the second argument of `(:)', namely `map (\ x -> (x * x) mod b) (li a b)' In the expression: a : map (\ x -> (x * x) mod b) (li a b)
信息
- 递交者
- 类型
- 自测
- 题目
- P1032 循环
- 语言
- Haskell
- 递交时间
- 2018-02-24 10:19:50
- 评测时间
- 2018-02-24 10:19:50
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes