Safe Haskell | None |
---|---|
Language | Haskell2010 |
Internal utilities used for HMock implementation.
Documentation
A value together with its source location.
locate :: CallStack -> a -> Located a Source #
Annotates a value with its source location from the call stack.
choices :: [a] -> [(a, [a])] Source #
Returns all ways to choose one element from a list, and the corresponding remaining list.
isSubsequenceOf :: (IsSequence t, Eq (Element t)) => t -> t -> Bool Source #
Checks if one sequence is a subsequence of another.