Skip to content
Snippets Groups Projects
Commit db342437 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

[project @ 1999-02-17 21:54:48 by simonpj]

Reinstate specialisations for fromIntegral and realToFrac
parent f629db72
No related branches found
No related tags found
No related merge requests found
......@@ -332,7 +332,7 @@ instance Show Double where
%*********************************************************
\begin{code}
{- SPECIALIZE fromIntegral ::
{-# SPECIALIZE fromIntegral ::
Int -> Rational,
Integer -> Rational,
Int -> Int,
......@@ -346,7 +346,7 @@ instance Show Double where
fromIntegral :: (Integral a, Num b) => a -> b
fromIntegral = fromInteger . toInteger
{- SPECIALIZE realToFrac ::
{-# SPECIALIZE realToFrac ::
Double -> Rational,
Rational -> Double,
Float -> Rational,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment