futhark
Safe HaskellNone
LanguageGHC2021

Futhark.Test.Values

Description

This module provides an efficient value representation as well as parsing and comparison functions.

Synopsis

Documentation

Random value generation

type Range a = (a, a) Source #

Closed interval, as in System.Random.

Orphan instances

Pretty Value Source # 
Instance details

Methods

pretty :: Value -> Doc ann #

prettyList :: [Value] -> Doc ann #

Pretty ValueType Source # 
Instance details

Methods

pretty :: ValueType -> Doc ann #

prettyList :: [ValueType] -> Doc ann #

UniformRange Half Source # 
Instance details

Methods

uniformRM :: StatefulGen g m => (Half, Half) -> g -> m Half #

isInRange :: (Half, Half) -> Half -> Bool #