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

Language | Haskell98 |

# Documentation

A thing with a location attached.

Located pos a |

## Instances

Functor (Located pos) Source # | |

Foldable (Located pos) Source # | |

Defined in Test.DocTest.Location fold :: Monoid m => Located pos m -> m # foldMap :: Monoid m => (a -> m) -> Located pos a -> m # foldr :: (a -> b -> b) -> b -> Located pos a -> b # foldr' :: (a -> b -> b) -> b -> Located pos a -> b # foldl :: (b -> a -> b) -> b -> Located pos a -> b # foldl' :: (b -> a -> b) -> b -> Located pos a -> b # foldr1 :: (a -> a -> a) -> Located pos a -> a # foldl1 :: (a -> a -> a) -> Located pos a -> a # toList :: Located pos a -> [a] # null :: Located pos a -> Bool # length :: Located pos a -> Int # elem :: Eq a => a -> Located pos a -> Bool # maximum :: Ord a => Located pos a -> a # minimum :: Ord a => Located pos a -> a # | |

Traversable (Located pos) Source # | |

Defined in Test.DocTest.Location | |

(Eq pos, Eq a) => Eq (Located pos a) Source # | |

(Show pos, Show a) => Show (Located pos a) Source # | |