projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 2001-03-15 07:40:06 by qrczak]
[ghc-hetmet.git]
/
ghc
/
tests
/
numeric
/
should_run
/
arith006.hs
1
-- !!! printing Floats; was a bug in hbc (reported by andy)
2
--
3
4
import Int( Num(fromInt) )
5
6
main = print ((fromInt 42) :: Float)