Hoogle Search

Within LTS Haskell 24.28 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. toList :: forall (v :: Type -> Type) a . Vector v a => Chimera v a -> [a]

    chimera Data.Chimera

    Convert a stream to an infinite list.

    >>> ch = tabulate (^ 2) :: UChimera Word
    
    >>> take 10 (toList ch)
    [0,1,4,9,16,25,36,49,64,81]
    

  2. CqlList :: [Value] -> Value

    cql Database.CQL.Protocol

    No documentation available.

  3. CqlList :: [Value] -> Value

    cql Database.CQL.Protocol.Internal

    No documentation available.

  4. decodeList :: Get [Text]

    cql Database.CQL.Protocol.Internal

    No documentation available.

  5. encodeList :: Putter [Text]

    cql Database.CQL.Protocol.Internal

    No documentation available.

  6. module Data.CircularList

    A simple purely functional circular list, or ring, data type. Lets describe what we mean by ring. A ring is a circular data structure such that if you continue rotating the ring, you'll eventually return to the element you first observed. All of our analogies involve sitting at a table who's top surface rotates about its center axis (think of those convenient rotating platforms one often finds in an (Americanized) Chinese Restaurant). Only the closest item on the table is avialable to us. In order to reach other elements on the table, we need to rotate the table to the left or the right. Our convention for this problem says that rotations to the right are a forward motion while rotations to the left are backward motions. We'll use the following circular list for our examples:

    8 7 6
    9     5
    A       4
    B       3
    C     2
    D 0 1
    ^
    
    The pointer at the bottom represents our position at the table. The element currently in front of is is referred to as the focus. So, in this case, our focus is 0. If we were to rotate the table to the right using the rotR operation, we'd have the following table.
    9 8 7
    A     6
    B       5
    C       4
    D     3
    0 1 2
    ^
    
    This yields 1 as our new focus. Rotating this table left would return 0 to the focus position.

  7. data CList a

    data-clist Data.CircularList

    A functional ring type.

  8. fromList :: [a] -> CList a

    data-clist Data.CircularList

    Make a (balanced) CList from a list.

  9. toInfList :: CList a -> [a]

    data-clist Data.CircularList

    Make a CList into an infinite list.

  10. toList :: CList a -> [a]

    data-clist Data.CircularList

    Make a list from a CList.

Page 160 of many | Previous | Next