What is the idiomatic way to go Double -> Float
?
Is it uncurry encodeFloat . decodeFloat
?
(I am using gloss
, this requires Floats)
And what is the recommended way to find an answer to such questions?
I was trying this hoogle query but the answers are all very unhelpful
(try it - it has unsafeCoerce
at the top of the list)