futhark-0.25.32: An optimising compiler for a functional, array-oriented language.

Safe Haskell | Safe-Inferred
Language | GHC2021

Language.Futhark.PrimitiveTests

Contents

- Orphan instances

# Documentation

tests :: TestTree Source #

arbitraryPrimValOfType :: PrimType -> Gen PrimValue Source #

# Orphan instances

Arbitrary FloatType Source # |
Instance details Methods arbitrary :: Gen FloatType shrink :: FloatType -> [FloatType]
Arbitrary FloatValue Source # |
Instance details Methods arbitrary :: Gen FloatValue shrink :: FloatValue -> [FloatValue]
Arbitrary IntType Source # |
Instance details Methods arbitrary :: Gen IntType shrink :: IntType -> [IntType]
Arbitrary IntValue Source # |
Instance details Methods arbitrary :: Gen IntValue shrink :: IntValue -> [IntValue]
Arbitrary PrimType Source # |
Instance details Methods arbitrary :: Gen PrimType shrink :: PrimType -> [PrimType]
Arbitrary PrimValue Source # |
Instance details Methods arbitrary :: Gen PrimValue shrink :: PrimValue -> [PrimValue]
Arbitrary Half Source # |
Instance details Methods arbitrary :: Gen Half shrink :: Half -> [Half]