In Haskell, is there infinity :: Num a => a?

后端 未结 8 1769
孤城傲影
孤城傲影 2020-12-16 10:03

I\'m trying to implement a data structure where if I had the use of infinity for numerical comparison purposes, it would simply things greatly. Note this isn\'t maxBound/min

8条回答
提交回复
热议问题