Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
numSpaceballButtons :: GettableStateVar (Maybe ButtonCount)GLUT Graphics.UI.GLUT.State Contains Just the number of buttons of the attached Spaceball or Nothing if there is none.
fetchAllRows :: Statement -> IO [[SqlValue]]HDBC Database.HDBC Lazily fetch all rows from an executed Statement. You can think of this as hGetContents applied to a database result set. The result of this is a lazy list, and each new row will be read, lazily, from the database as the list is processed. When you have exhausted the list, the Statement will be finished. Please note that the careless use of this function can lead to some unpleasant behavior. In particular, if you have not consumed the entire list, then attempt to finish or re-execute the statement, and then attempt to consume more elements from the list, the result will almost certainly not be what you want. But then, similar caveats apply with hGetContents. Bottom line: this is a very convenient abstraction; use it wisely. Use fetchAllRows' if you need something that is strict, without all these caveats.
fetchAllRows' :: Statement -> IO [[SqlValue]]HDBC Database.HDBC Strict version of fetchAllRows. Does not have the side-effects of fetchAllRows, but forces the entire result set to be buffered in memory.
fetchAllRowsAL :: Statement -> IO [[(String, SqlValue)]]HDBC Database.HDBC Like fetchAllRows, but instead of returning a list for each row, return an association list for each row, from column name to value. See fetchRowAL for more details.
fetchAllRowsAL' :: Statement -> IO [[(String, SqlValue)]]HDBC Database.HDBC Strict version of fetchAllRowsAL
fetchAllRowsMap :: Statement -> IO [Map String SqlValue]HDBC Database.HDBC Like fetchAllRowsAL, but return a list of Maps instead of a list of association lists.
fetchAllRowsMap' :: Statement -> IO [Map String SqlValue]HDBC Database.HDBC Strict version of fetchAllRowsMap
sFetchAllRows :: Statement -> IO [[Maybe String]]HDBC Database.HDBC Like fetchAllRows, but return Maybe Strings instead of SqlValues.
sFetchAllRows' :: Statement -> IO [[Maybe String]]HDBC Database.HDBC Strict version of sFetchAllRows.
-
HDBC Database.HDBC.ColTypes 16-bit integer values