如果我想在无框向量中使用CReal或BigFloat e (比Double更精确),我必须给出Unbox的实例。你能告诉我怎么做吗?
CReal
BigFloat e
Double
Unbox
发布于 2016-01-09 14:07:45
从CReal和BigFloat的来源来看,似乎两者都无法解封。
BigFloat
CReal不能取消装箱,因为它是一个函数
data CReal = CR (Int -> Integer)
BigFloat 包含 Integer和Integer也不能取消装箱,因为它是由可变大小的字节数组支持的。
Integer
https://stackoverflow.com/questions/34693952
相似问题