Safe Haskell | Safe-Inferred |
---|---|

Language | Haskell2010 |

XPath operators which are re-exported from the HaXPath module for convenience. This module is designed to be imported unqualified.

## Synopsis

- (#) :: (Filterable p, Showed p ~ s) => p -> [Bool' s] -> p
- (&&.) :: IsString s => Bool' s -> Bool' s -> Bool' s
- (/.) :: SlashOperator p q => p -> q -> Path' (Context p) (Showed q)
- (//.) :: DoubleSlashOperator p q => p -> q -> Path' (Context p) (Showed q)
- (/=.) :: (Eq a, IsString (Showed a)) => a -> a -> Bool' (Showed a)
- (<.) :: (Ord a, IsString (Showed a)) => a -> a -> Bool' (Showed a)
- (<=.) :: (Ord a, IsString (Showed a)) => a -> a -> Bool' (Showed a)
- (=.) :: (Eq a, IsString (Showed a)) => a -> a -> Bool' (Showed a)
- (>.) :: (Ord a, IsString (Showed a)) => a -> a -> Bool' (Showed a)
- (>=.) :: (Ord a, IsString (Showed a)) => a -> a -> Bool' (Showed a)
- (||.) :: IsString s => Bool' s -> Bool' s -> Bool' s
- (|.) :: (PathLike p, PathLike q, IsExpression p, IsExpression q, Context p ~ Context q, Showed p ~ Showed q, IsString (Showed q)) => p -> q -> Path' (Context p) (Showed q)

# Documentation

(#) :: (Filterable p, Showed p ~ s) => p -> [Bool' s] -> p infixl 9 Source #

Filter the nodes returned by `p`

such that they match the list of predicates.

(/.) :: SlashOperator p q => p -> q -> Path' (Context p) (Showed q) infixl 8 Source #

The XPath `/`

operator.

(//.) :: DoubleSlashOperator p q => p -> q -> Path' (Context p) (Showed q) infixl 8 Source #

The XPath `//`

operator.

(/=.) :: (Eq a, IsString (Showed a)) => a -> a -> Bool' (Showed a) infix 4 Source #

The XPath `!=`

operator.

(<.) :: (Ord a, IsString (Showed a)) => a -> a -> Bool' (Showed a) infix 4 Source #

The XPath `<`

operator.

(<=.) :: (Ord a, IsString (Showed a)) => a -> a -> Bool' (Showed a) infix 4 Source #

The XPath `<=`

operator.

(=.) :: (Eq a, IsString (Showed a)) => a -> a -> Bool' (Showed a) infix 4 Source #

The XPath `=`

operator.

(>.) :: (Ord a, IsString (Showed a)) => a -> a -> Bool' (Showed a) infix 4 Source #

The XPath `>`

operator.