{-# OPTIONS_HADDOCK prune #-}
module NumHask.Prelude
(
module NumHask.Algebra.Additive,
module NumHask.Algebra.Field,
module NumHask.Algebra.Group,
module NumHask.Algebra.Lattice,
module NumHask.Algebra.Action,
module NumHask.Algebra.Multiplicative,
module NumHask.Algebra.Ring,
module NumHask.Algebra.Metric,
module NumHask.Data.Complex,
module NumHask.Data.Integral,
module NumHask.Data.Rational,
module NumHask.Exception,
fromString,
ifThenElse,
fromList,
fromListN,
Natural (..),
module GHC.OverloadedLabels,
module Data.Bool,
module Data.Kind,
module GHC.Generics,
module Control.Applicative,
module Data.Traversable,
module Data.Semigroup,
module Data.Maybe,
module Data.Function,
module Control.Category,
module Data.Foldable,
module Prelude,
)
where
import Control.Applicative
import Control.Category
import Data.Bool
import Data.Foldable hiding (product, sum)
import Data.Function hiding (id, (.))
import Data.Kind
import Data.Maybe
import Data.Semigroup
import Data.Traversable
import GHC.Exts
import GHC.Generics
import GHC.Natural (Natural (..))
import GHC.OverloadedLabels
import NumHask.Algebra.Action
import NumHask.Algebra.Additive
import NumHask.Algebra.Field
import NumHask.Algebra.Group
import NumHask.Algebra.Lattice
import NumHask.Algebra.Metric
import NumHask.Algebra.Multiplicative
import NumHask.Algebra.Ring
import NumHask.Data.Complex
import NumHask.Data.Integral
import NumHask.Data.Rational
import NumHask.Exception
import Prelude hiding (Integral (..), abs, acos, acosh, asin, asinh, atan, atan2, atanh, ceiling, cos, cosh, even, exp, floor, fromInteger, fromIntegral, fromRational, gcd, id, log, logBase, negate, odd, pi, product, properFraction, recip, round, signum, sin, sinh, sqrt, subtract, sum, tan, tanh, toInteger, toRational, truncate, (*), (**), (+), (-), (.), (/), (^), (^^))
ifThenElse :: Bool -> a -> a -> a
ifThenElse :: forall a. Bool -> a -> a -> a
ifThenElse Bool
True a
x a
_ = a
x
ifThenElse Bool
False a
_ a
y = a
y