flaw-gl/Flaw/Graphics/WebGL/FFI.hs

Summary

Maintainability
Test Coverage

Eta reduce
Open

glBufferData_null target size usage = glBufferData_val target (pToJSVal size) usage
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

glBufferData_null target size usage
  = glBufferData_val target (pToJSVal size) usage

Perhaps

glBufferData_null target size
  = glBufferData_val target (pToJSVal size)

Eta reduce
Open

glBufferData_bs target bytes usage = glBufferData_val target (byteStringToJsDataView bytes) usage
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

glBufferData_bs target bytes usage
  = glBufferData_val target (byteStringToJsDataView bytes) usage

Perhaps

glBufferData_bs target bytes
  = glBufferData_val target (byteStringToJsDataView bytes)

Use camelCase
Open

glGetProgramInfoLog_s :: JS_WebGLProgram -> IO T.Text
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

glGetProgramInfoLog_s :: JS_WebGLProgram -> IO T.Text

Perhaps

glGetProgramInfoLogS :: JS_WebGLProgram -> IO T.Text

Use camelCase
Open

glGetUniformLocation_s :: JS_WebGLProgram -> T.Text -> IO JS_WebGLUniformLocation
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

glGetUniformLocation_s ::
  JS_WebGLProgram -> T.Text -> IO JS_WebGLUniformLocation

Perhaps

glGetUniformLocationS ::
  JS_WebGLProgram -> T.Text -> IO JS_WebGLUniformLocation

Use camelCase
Open

newtype JS_WebGLShader = JS_WebGLShader JSVal
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

newtype JS_WebGLShader = JS_WebGLShader JSVal

Perhaps

newtype JSWebGLShader = JSWebGLShader JSVal

Use camelCase
Open

glBufferData_bs target bytes usage = glBufferData_val target (byteStringToJsDataView bytes) usage
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

glBufferData_bs target bytes usage = ...

Perhaps

glBufferDataBs target bytes usage = ...

Use camelCase
Open

glBufferData_bs :: GLenum -> B.ByteString -> GLenum -> IO ()
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

glBufferData_bs :: GLenum -> B.ByteString -> GLenum -> IO ()

Perhaps

glBufferDataBs :: GLenum -> B.ByteString -> GLenum -> IO ()

Use camelCase
Open

newtype JS_WebGLBuffer = JS_WebGLBuffer JSVal
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

newtype JS_WebGLBuffer = JS_WebGLBuffer JSVal

Perhaps

newtype JSWebGLBuffer = JSWebGLBuffer JSVal

Use camelCase
Open

glGetProgramInfoLog_s program = pFromJSVal <$> glGetProgramInfoLog_val program
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

glGetProgramInfoLog_s program = ...

Perhaps

glGetProgramInfoLogS program = ...

Use camelCase
Open

glBindAttribLocation_s program index attributeName = glBindAttribLocation_val program index $ pToJSVal attributeName
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

glBindAttribLocation_s program index attributeName = ...

Perhaps

glBindAttribLocationS program index attributeName = ...

Use camelCase
Open

glShaderSource_s shader source = glShaderSource_val shader $ pToJSVal source
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

glShaderSource_s shader source = ...

Perhaps

glShaderSourceS shader source = ...

Use camelCase
Open

newtype JS_WebGLSampler = JS_WebGLSampler JSVal
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

newtype JS_WebGLSampler = JS_WebGLSampler JSVal

Perhaps

newtype JSWebGLSampler = JSWebGLSampler JSVal

Use camelCase
Open

newtype JS_WebGLRenderbuffer = JS_WebGLRenderbuffer JSVal
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

newtype JS_WebGLRenderbuffer = JS_WebGLRenderbuffer JSVal

Perhaps

newtype JSWebGLRenderbuffer = JSWebGLRenderbuffer JSVal

Use camelCase
Open

newtype JS_WebGLVertexArray = JS_WebGLVertexArray JSVal
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

newtype JS_WebGLVertexArray = JS_WebGLVertexArray JSVal

Perhaps

newtype JSWebGLVertexArray = JSWebGLVertexArray JSVal

Use camelCase
Open

glBufferData_null target size usage = glBufferData_val target (pToJSVal size) usage
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

glBufferData_null target size usage = ...

Perhaps

glBufferDataNull target size usage = ...

Use camelCase
Open

newtype JS_WebGLContext = JS_WebGLContext JSVal
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

newtype JS_WebGLContext = JS_WebGLContext JSVal

Perhaps

newtype JSWebGLContext = JSWebGLContext JSVal

Use camelCase
Open

glGetUniformBlockIndex_s :: JS_WebGLProgram -> T.Text -> IO GLuint
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

glGetUniformBlockIndex_s :: JS_WebGLProgram -> T.Text -> IO GLuint

Perhaps

glGetUniformBlockIndexS :: JS_WebGLProgram -> T.Text -> IO GLuint

Use camelCase
Open

glGetUniformBlockIndex_s programName uniformBlockName = glGetUniformBlockIndex_val programName $ pToJSVal uniformBlockName
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

glGetUniformBlockIndex_s programName uniformBlockName = ...

Perhaps

glGetUniformBlockIndexS programName uniformBlockName = ...

Use camelCase
Open

newtype JS_WebGLFramebuffer = JS_WebGLFramebuffer JSVal
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

newtype JS_WebGLFramebuffer = JS_WebGLFramebuffer JSVal

Perhaps

newtype JSWebGLFramebuffer = JSWebGLFramebuffer JSVal

Use camelCase
Open

glGetShaderInfoLog_s :: JS_WebGLShader -> IO T.Text
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

glGetShaderInfoLog_s :: JS_WebGLShader -> IO T.Text

Perhaps

glGetShaderInfoLogS :: JS_WebGLShader -> IO T.Text

Use camelCase
Open

glBufferData_null :: GLenum -> GLsizeiptr -> GLenum -> IO ()
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

glBufferData_null :: GLenum -> GLsizeiptr -> GLenum -> IO ()

Perhaps

glBufferDataNull :: GLenum -> GLsizeiptr -> GLenum -> IO ()

Use camelCase
Open

newtype JS_WebGLUniformLocation = JS_WebGLUniformLocation JSVal
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

newtype JS_WebGLUniformLocation = JS_WebGLUniformLocation JSVal

Perhaps

newtype JSWebGLUniformLocation = JSWebGLUniformLocation JSVal

Use camelCase
Open

glBindAttribLocation_s :: JS_WebGLProgram -> GLuint -> T.Text -> IO ()
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

glBindAttribLocation_s ::
  JS_WebGLProgram -> GLuint -> T.Text -> IO ()

Perhaps

glBindAttribLocationS ::
  JS_WebGLProgram -> GLuint -> T.Text -> IO ()

Use camelCase
Open

newtype JS_WebGLTexture = JS_WebGLTexture JSVal
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

newtype JS_WebGLTexture = JS_WebGLTexture JSVal

Perhaps

newtype JSWebGLTexture = JSWebGLTexture JSVal

Use camelCase
Open

glShaderSource_s :: JS_WebGLShader -> T.Text -> IO ()
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

glShaderSource_s :: JS_WebGLShader -> T.Text -> IO ()

Perhaps

glShaderSourceS :: JS_WebGLShader -> T.Text -> IO ()

Use camelCase
Open

glGetShaderInfoLog_s shader = pFromJSVal <$> glGetShaderInfoLog_val shader
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

glGetShaderInfoLog_s shader = ...

Perhaps

glGetShaderInfoLogS shader = ...

Use camelCase
Open

glGetUniformLocation_s program locationName = glGetUniformLocation_val program $ pToJSVal locationName
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

glGetUniformLocation_s program locationName = ...

Perhaps

glGetUniformLocationS program locationName = ...

Use camelCase
Open

newtype JS_WebGLProgram = JS_WebGLProgram JSVal
Severity: Minor
Found in flaw-gl/Flaw/Graphics/WebGL/FFI.hs by hlint

Found

newtype JS_WebGLProgram = JS_WebGLProgram JSVal

Perhaps

newtype JSWebGLProgram = JSWebGLProgram JSVal

There are no issues that match your filters.

Category
Status