Showing 292 of 292 total issues
Reduce duplication Open
Open
p <- VGM.unsafeRead pairHeap i
- Read upRead up
- Exclude checks
Found
p <- VGM.unsafeRead pairHeap i
let m = (i - 1) `quot` 2
mp <- VGM.unsafeRead pairHeap m
Perhaps
Combine with flaw-visual/Flaw/Visual/Geometry/Simplification.hs:327:9
Use camelCase Open
Open
hb_y_advance :: Ptr Hb_glyph_position_t -> Ptr Hb_position_t
- Read upRead up
- Exclude checks
Found
hb_y_advance :: Ptr Hb_glyph_position_t -> Ptr Hb_position_t
Perhaps
hbYAdvance :: Ptr Hb_glyph_position_t -> Ptr Hb_position_t
Use camelCase Open
Open
hb_glyph_info_t_size = 20
- Read upRead up
- Exclude checks
Found
hb_glyph_info_t_size = ...
Perhaps
hbGlyphInfoTSize = ...
Use camelCase Open
Open
data C_AVStream
- Read upRead up
- Exclude checks
Found
data C_AVStream
Perhaps
data CAVStream
Redundant bracket Open
Open
[ patSynSigD v (forallT [PlainTV a] (sequence [(conT ''Vectorized) `appT` (varT a)]) $ foldr (appT . (appT arrowT) . varT) ((conT v) `appT` (varT a)) (replicate dim a))
- Read upRead up
- Exclude checks
Found
(conT v) `appT` (varT a)
Perhaps
(conT v) `appT` varT a
Redundant bracket Open
Open
[ patSynSigD v (forallT [PlainTV a] (sequence [(conT ''Vectorized) `appT` (varT a)]) $ foldr (appT . (appT arrowT) . varT) ((conT v) `appT` (varT a)) (replicate (dimN * dimM) a))
- Read upRead up
- Exclude checks
Found
(conT v) `appT` (varT a)
Perhaps
conT v `appT` (varT a)
Redundant $ Open
Open
, funD 'S.get [clause [] (normalB $ doE $ map (\a -> bindS (varP a) [| S.get |]) as ++ [noBindS $ [| return $(foldl appE (conE conName) $ map varE as) |] ]) []]
- Read upRead up
- Exclude checks
Found
noBindS $ [| return $( foldl appE (conE conName) $ map varE as ) |]
Perhaps
noBindS [| return $( foldl appE (conE conName) $ map varE as ) |]
Use camelCase Open
Open
type FN_vkInternalAllocationNotification = Ptr () -> CSize -> VkInternalAllocationType -> VkSystemAllocationScope -> IO ()
- Read upRead up
- Exclude checks
Found
type FN_vkInternalAllocationNotification =
Ptr ()
-> CSize
-> VkInternalAllocationType -> VkSystemAllocationScope -> IO ()
Perhaps
type FNVkInternalAllocationNotification =
Ptr ()
-> CSize
-> VkInternalAllocationType -> VkSystemAllocationScope -> IO ()
Use camelCase Open
Open
type FN_vkCreateImage
= VkDevice
-> Ptr VkImageCreateInfo
-> Ptr VkAllocationCallbacks
-> Ptr VkImage
- Read upRead up
- Exclude checks
Found
type FN_vkCreateImage =
VkDevice
-> Ptr VkImageCreateInfo
-> Ptr VkAllocationCallbacks -> Ptr VkImage -> IO Word32
Perhaps
type FNVkCreateImage =
VkDevice
-> Ptr VkImageCreateInfo
-> Ptr VkAllocationCallbacks -> Ptr VkImage -> IO Word32
Use camelCase Open
Open
type FN_vkDestroyRenderPass
= VkDevice
-> VkRenderPass
-> Ptr VkAllocationCallbacks
-> IO ()
- Read upRead up
- Exclude checks
Found
type FN_vkDestroyRenderPass =
VkDevice -> VkRenderPass -> Ptr VkAllocationCallbacks -> IO ()
Perhaps
type FNVkDestroyRenderPass =
VkDevice -> VkRenderPass -> Ptr VkAllocationCallbacks -> IO ()
Use camelCase Open
Open
type FN_vkCreateShaderModule
= VkDevice
-> Ptr VkShaderModuleCreateInfo
-> Ptr VkAllocationCallbacks
-> Ptr VkShaderModule
- Read upRead up
- Exclude checks
Found
type FN_vkCreateShaderModule =
VkDevice
-> Ptr VkShaderModuleCreateInfo
-> Ptr VkAllocationCallbacks -> Ptr VkShaderModule -> IO Word32
Perhaps
type FNVkCreateShaderModule =
VkDevice
-> Ptr VkShaderModuleCreateInfo
-> Ptr VkAllocationCallbacks -> Ptr VkShaderModule -> IO Word32
Use camelCase Open
Open
data Hb_glyph_info_t
- Read upRead up
- Exclude checks
Found
data Hb_glyph_info_t
Perhaps
data HbGlyphInfoT
Use camelCase Open
Open
hb_x_advance :: Ptr Hb_glyph_position_t -> Ptr Hb_position_t
- Read upRead up
- Exclude checks
Found
hb_x_advance :: Ptr Hb_glyph_position_t -> Ptr Hb_position_t
Perhaps
hbXAdvance :: Ptr Hb_glyph_position_t -> Ptr Hb_position_t
Reduce duplication Open
Open
renderUniformStorage usObject
- Read upRead up
- Exclude checks
Found
renderUniformStorage usObject
renderVertexBuffer 0 vbObject
renderIndexBuffer ibObject
Perhaps
Combine with flaw-editor/exe/model-editor.hs:886:11
Use camelCase Open
Open
type Hb_codepoint_t = Word32
- Read upRead up
- Exclude checks
Found
type Hb_codepoint_t = Word32
Perhaps
type HbCodepointT = Word32
Use camelCase Open
Open
data FT_GlyphSlotRec
- Read upRead up
- Exclude checks
Found
data FT_GlyphSlotRec
Perhaps
data FTGlyphSlotRec
Use camelCase Open
Open
type FN_vkEnumeratePhysicalDevices
= VkInstance
-> Ptr Word32
-> Ptr VkPhysicalDevice
-> IO Word32 -- VkResult
- Read upRead up
- Exclude checks
Found
type FN_vkEnumeratePhysicalDevices =
VkInstance -> Ptr Word32 -> Ptr VkPhysicalDevice -> IO Word32
Perhaps
type FNVkEnumeratePhysicalDevices =
VkInstance -> Ptr Word32 -> Ptr VkPhysicalDevice -> IO Word32
Use camelCase Open
Open
type FN_vkGetDeviceProcAddr
= VkDevice
-> Ptr CChar
-> IO (FunPtr (IO ()))
- Read upRead up
- Exclude checks
Found
type FN_vkGetDeviceProcAddr =
VkDevice -> Ptr CChar -> IO (FunPtr (IO ()))
Perhaps
type FNVkGetDeviceProcAddr =
VkDevice -> Ptr CChar -> IO (FunPtr (IO ()))
Use camelCase Open
Open
type FN_vkCreateGraphicsPipelines
= VkDevice
-> VkPipelineCache
-> Word32
-> Ptr VkGraphicsPipelineCreateInfo
- Read upRead up
- Exclude checks
Found
type FN_vkCreateGraphicsPipelines =
VkDevice
-> VkPipelineCache
-> Word32
-> Ptr VkGraphicsPipelineCreateInfo
-> Ptr VkAllocationCallbacks -> Ptr VkPipeline -> IO Word32
Perhaps
type FNVkCreateGraphicsPipelines =
VkDevice
-> VkPipelineCache
-> Word32
-> Ptr VkGraphicsPipelineCreateInfo
-> Ptr VkAllocationCallbacks -> Ptr VkPipeline -> IO Word32
Reduce duplication Open
Open
let v = undefined :: VertexPNT
- Read upRead up
- Exclude checks
Found
let v = undefined :: VertexPNT
aPosition <- vertexAttribute 0 0 $ vertexPositionAttribute v
aNormal <- vertexAttribute 0 0 $ vertexNormalAttribute v
Perhaps
Combine with flaw-editor/exe/model-editor.hs:398:5