Real

class (Num a, Ord a) => Real a
base Prelude
class (RealFrac a, Floating a) => RealFloat a
base Prelude
Efficient, machine-independent access to the components of a floating-point number. Minimal complete definition: all except exponent, significand, scaleFloat and atan2
class (Real a, Fractional a) => RealFrac a
base Prelude
Extracting components of fractions. Minimal complete definition: properFraction
data RealWorld :: *
base Control.Monad.ST, base Control.Monad.ST.Lazy
RealWorld is deeply magical. It is primitive, but it is not unlifted (hence ptrArg). We never manipulate values of type RealWorld; it's only used in the type system, to parameterise State#.
module Data.Text.Lazy.Builder.RealFloat
text Data.Text.Lazy.Builder.RealFloat
Write a floating point value to a Builder.
realToFrac :: (Real a, Fractional b) => a -> b
base Prelude
general coercion to fractional types
realloc :: Storable b => Ptr a -> IO (Ptr b)
base Foreign.Marshal.Alloc
Resize a memory area that was allocated with malloc or mallocBytes to the size needed to store values of type b. The returned pointer may refer to an entirely different memory area, but will be suitably aligned to hold values of type b. The contents of the referenced memory area will be the same as of the original pointer up to the minimum of the original size and the size of values of type b. If the argument to realloc is nullPtr, realloc behaves like malloc.
reallocArray :: Storable a => Ptr a -> Int -> IO (Ptr a)
base Foreign.Marshal.Array
Adjust the size of an array
reallocArray0 :: Storable a => Ptr a -> Int -> IO (Ptr a)
base Foreign.Marshal.Array
Adjust the size of an array including an extra position for the end marker.
reallocBytes :: Ptr a -> Int -> IO (Ptr a)
base Foreign.Marshal.Alloc
Resize a memory area that was allocated with malloc or mallocBytes to the given size. The returned pointer may refer to an entirely different memory area, but will be sufficiently aligned for any of the basic foreign types that fits into a memory block of the given size. The contents of the referenced memory area will be the same as of the original pointer up to the minimum of the original size and the given size. If the pointer argument to reallocBytes is nullPtr, reallocBytes behaves like malloc. If the requested size is 0, reallocBytes behaves like free.
realPart :: RealFloat a => Complex a -> a
base Data.Complex
Extracts the real part of a complex number.
realFloat :: RealFloat a => a -> Builder
text Data.Text.Lazy.Builder.RealFloat
Show a signed RealFloat value to full precision, using standard decimal notation for arguments whose absolute value lies between 0.1 and 9,999,999, and scientific notation otherwise.
package really-simple-xml-parser
package
A really simple and trivial XML parser using the Parsec library Version 0.4.0.0
realTimeAlarm :: Signal
unix System.Posix.Signals
mkRealConstr :: Real a => DataType -> a -> Constr
base Data.Data
pooledRealloc :: Storable a => Pool -> Ptr a -> IO (Ptr a)
base Foreign.Marshal.Pool
Adjust the storage area for an element in the pool to the given size of the required type.
pooledReallocArray :: Storable a => Pool -> Ptr a -> Int -> IO (Ptr a)
base Foreign.Marshal.Pool
Adjust the size of an array in the given pool.
pooledReallocArray0 :: Storable a => Pool -> Ptr a -> Int -> IO (Ptr a)
base Foreign.Marshal.Pool
Adjust the size of an array with an end marker in the given pool.
pooledReallocBytes :: Pool -> Ptr a -> Int -> IO (Ptr a)
base Foreign.Marshal.Pool
Adjust the storage area for an element in the pool to the given size.
package acme-realworld
package
GHC represents an IO action internally as a function from one state of the world to the next: > State# RealWorld -> (# State# RealWorld, a #) This module provides a very useful capability stemming directly from this representation: the ability to save the current state of the universe and restore it later.  This provides a way to &quot;undo&quot; certain types of side effects in the IO monad: > import Acme.Missiles > import Acme.RealWorld > main :: IO () > main = do > -- Save the current state of the universe > world_as_we_know_it <- getWorld > -- Cause serious international side effects > launchMissiles > -- After realizing that was a terrible, terrible mistake, restore the > -- pre-war state of the universe. > putWorld world_as_we_know_it Version 0.1.1

Show more results