Showing 292 of 292 total issues
Use camelCase Open
Open
glBufferData_bs target bytes usage = B.unsafeUseAsCStringLen bytes $ \(bytesPtr, bytesLen) ->
glBufferData target (fromIntegral bytesLen) bytesPtr usage
- Read upRead up
- Exclude checks
Found
glBufferData_bs target bytes usage = ...
Perhaps
glBufferDataBs target bytes usage = ...
Use camelCase Open
Open
data MDB_cursor
- Read upRead up
- Exclude checks
Found
data MDB_cursor
Perhaps
data MDBCursor
Use camelCase Open
Open
glBufferData_null :: GLenum -> GLsizeiptr -> GLenum -> IO ()
- Read upRead up
- Exclude checks
Found
glBufferData_null :: GLenum -> GLsizeiptr -> GLenum -> IO ()
Perhaps
glBufferDataNull :: GLenum -> GLsizeiptr -> GLenum -> IO ()
Use camelCase Open
Open
glDrawBuffers_n :: Int -> IO ()
- Read upRead up
- Exclude checks
Found
glDrawBuffers_n :: Int -> IO ()
Perhaps
glDrawBuffersN :: Int -> IO ()
Use camelCase Open
Open
glGetUniformLocation_s programName locationName = B.useAsCString (T.encodeUtf8 locationName) $ glGetUniformLocation programName
- Read upRead up
- Exclude checks
Found
glGetUniformLocation_s programName locationName = ...
Perhaps
glGetUniformLocationS programName locationName = ...
Use camelCase Open
Open
newtype JS_WebGLShader = JS_WebGLShader JSVal
- Read upRead up
- Exclude checks
Found
newtype JS_WebGLShader = JS_WebGLShader JSVal
Perhaps
newtype JSWebGLShader = JSWebGLShader JSVal
Use camelCase Open
Open
glBufferData_bs target bytes usage = glBufferData_val target (byteStringToJsDataView bytes) usage
- Read upRead up
- Exclude checks
Found
glBufferData_bs target bytes usage = ...
Perhaps
glBufferDataBs target bytes usage = ...
Use camelCase Open
Open
glBufferData_bs :: GLenum -> B.ByteString -> GLenum -> IO ()
- Read upRead up
- Exclude checks
Found
glBufferData_bs :: GLenum -> B.ByteString -> GLenum -> IO ()
Perhaps
glBufferDataBs :: GLenum -> B.ByteString -> GLenum -> IO ()
Use camelCase Open
Open
type MDB_dbi = CUInt
- Read upRead up
- Exclude checks
Found
type MDB_dbi = CUInt
Perhaps
type MDBDbi = CUInt
Redundant bracket Open
Open
return $ (noBindS [| writeMutVar $(r a) $(kst nax) |]) : nextNextInstStmts
- Read upRead up
- Exclude checks
Found
(noBindS [| writeMutVar $( r a ) $( kst nax ) |]) :
nextNextInstStmts
Perhaps
noBindS [| writeMutVar $( r a ) $( kst nax ) |] : nextNextInstStmts
Reduce duplication Open
Open
srvInterface <- book bk $ allocateCOMObject $ with srvDesc $ \srvDescPtr ->
createCOMObjectViaPtr $ m_ID3D11Device_CreateShaderResourceView deviceInterface (pokeCOMObject resourceInterface) srvDescPtr
- Read upRead up
- Exclude checks
Found
srvInterface <- book bk $
allocateCOMObject $
with srvDesc $
\ srvDescPtr ->
createCOMObjectViaPtr $
m_ID3D11Device_CreateShaderResourceView deviceInterface
(pokeCOMObject resourceInterface)
srvDescPtr
releaseResourceInterface
samplerState <- book bk $
createSamplerState device samplerStateInfo
Perhaps
Combine with flaw-dx11/Flaw/Graphics/DirectX11.hs:552:5
Use camelCase Open
Open
type C_lua_Reader = Ptr C_lua_State -> Ptr () -> Ptr CSize -> IO (Ptr CChar)
- Read upRead up
- Exclude checks
Found
type C_lua_Reader =
Ptr C_lua_State -> Ptr () -> Ptr CSize -> IO (Ptr CChar)
Perhaps
type CLuaReader =
Ptr C_lua_State -> Ptr () -> Ptr CSize -> IO (Ptr CChar)
Use camelCase Open
Open
glShaderSource_s :: GLuint -> T.Text -> IO ()
- Read upRead up
- Exclude checks
Found
glShaderSource_s :: GLuint -> T.Text -> IO ()
Perhaps
glShaderSourceS :: GLuint -> T.Text -> IO ()
Reduce duplication Open
Open
pressed <- readTVar pressedVar
- Read upRead up
- Exclude checks
Found
pressed <- readTVar pressedVar
when pressed $
do click
writeTVar pressedVar False
return True
Perhaps
Combine with flaw-ui/Flaw/UI/Button.hs:160:9
Use guards Open
Open
(visibleItems, firstVisibleItemOrderedIndex) =
if topOrderedIndex <= 0 then (items, 0)
else if topOrderedIndex >= S.size items then (S.empty, 0)
else let
ListBoxItem firstVisibleItemIndex firstVisibleItemKeyFunc firstVisibleItemValue = S.elemAt topOrderedIndex items
- Read upRead up
- Exclude checks
Found
(visibleItems, firstVisibleItemOrderedIndex)
= if topOrderedIndex <= 0 then (items, 0) else
if topOrderedIndex >= S.size items then (S.empty, 0) else
let ListBoxItem firstVisibleItemIndex firstVisibleItemKeyFunc
firstVisibleItemValue
= S.elemAt topOrderedIndex items
in
(snd $
S.split
(ListBoxItem (firstVisibleItemIndex - 1) firstVisibleItemKeyFunc
firstVisibleItemValue)
items,
topOrderedIndex)
Perhaps
(visibleItems, firstVisibleItemOrderedIndex)
| topOrderedIndex <= 0 = (items, 0)
| topOrderedIndex >= S.size items = (S.empty, 0)
| otherwise =
let ListBoxItem firstVisibleItemIndex firstVisibleItemKeyFunc
firstVisibleItemValue
= S.elemAt topOrderedIndex items
in
(snd $
S.split
(ListBoxItem (firstVisibleItemIndex - 1) firstVisibleItemKeyFunc
firstVisibleItemValue)
items,
topOrderedIndex)
Use camelCase Open
Open
data Hb_font_t
- Read upRead up
- Exclude checks
Found
data Hb_font_t
Perhaps
data HbFontT
Use camelCase Open
Open
glGetProgramInfoLog_s :: GLuint -> IO T.Text
- Read upRead up
- Exclude checks
Found
glGetProgramInfoLog_s :: GLuint -> IO T.Text
Perhaps
glGetProgramInfoLogS :: GLuint -> IO T.Text
Use camelCase Open
Open
glDrawBuffers_n colorBuffersCount =
withArray [GL_COLOR_ATTACHMENT0 + fromIntegral i | i <- [0..(colorBuffersCount - 1)]] $
glDrawBuffers $ fromIntegral colorBuffersCount
- Read upRead up
- Exclude checks
Found
glDrawBuffers_n colorBuffersCount = ...
Perhaps
glDrawBuffersN colorBuffersCount = ...
Use camelCase Open
Open
newtype JS_WebGLBuffer = JS_WebGLBuffer JSVal
- Read upRead up
- Exclude checks
Found
newtype JS_WebGLBuffer = JS_WebGLBuffer JSVal
Perhaps
newtype JSWebGLBuffer = JSWebGLBuffer JSVal