j
k
j a
j l
Keith Wansbrough wrote:
...Which brings me to a question: is there a better way to write -inf and +inf in Haskell than "-1/0" and "1/0"?
Which brings me to a question: is there a better way to write -inf and +inf in Haskell than "-1/0" and "1/0"?
Why not do it with types: data InfDbl = Dbl Double | PositiveInfinity | NegativeInfinity Keean.
Back to the thread
Back to the list