我有一些简单的功能
f :: Float -> Float f x = x Prelude> f 5.00 5.0
为什么不5.00呢?我怎样才能做到这一点?
5.00
floating-point haskell pretty-print
floating-point ×1
haskell ×1
pretty-print ×1