Copyright | (c) Fumiaki Kinoshita 2019 |
---|---|
License | BSD3 |
Stability | Experimental |
Safe Haskell | None |
Language | Haskell2010 |
Maintainer : Fumiaki Kinoshita fumiexcel@gmail.com
Building blocks for winery queries.
Synopsis
Documentation
Query is a transformation between Extractor
s.
Like jq, this returns a list of values.
invalid :: WineryException -> Query a b Source #
Throw an error.
range :: Typeable a => Int -> Int -> Query a a Source #
Takes a list and enumerates elements in the specified range. Like Python's array slicing, negative numbers counts from the last element.