Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- isPureExpression :: Expression a -> Bool
Documentation
isPureExpression :: Expression a -> Bool Source #
Given an Expression
, determine whether it is a pure expression.
A pure expression does not have side effect.
return true if the expression is guaranteed to be pure,
return false if the expression can not be guaranteed to be pure.