hxt-9.3.1.1: A collection of tools for processing XML with Haskell.

Portabilityportable
Stabilityexperimental
MaintainerUwe Schmidt (uwe\@fh-wedel.de)
Safe HaskellSafe-Inferred

Control.FlatSeq

Description

Force evaluation like deepseq in Control.DeepSeq, but control the depth of evaluation. flatseq may evaluate more than seq but less than deepseq

Synopsis

Documentation

($!!) :: WNFData a => (a -> b) -> a -> bSource

flatseq :: WNFData a => a -> b -> bSource

rlnf :: (a -> ()) -> [a] -> ()Source

class WNFData a whereSource

A class of types that can be partially evaluated, but evaluation can be propagated deeper than WHNF

Methods

rwnf :: a -> ()Source

Default for rwnf is reduction to WHNF

rwnf2 :: a -> ()Source

Default for rwnf2 is rwnf