Skip to content

Commit

Permalink
fix: Disable formatter for getMat* binary decoders
Browse files Browse the repository at this point in the history
  • Loading branch information
sgillespie committed May 1, 2024
1 parent feb9f82 commit c5d8a96
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Text/GLTF/Loader/Internal/Decoders.hs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ getVec3 getter = getVector $ V3 <$> getter <*> getter <*> getter
getVec4 :: Get a -> Get (Vector (V4 a))
getVec4 getter = getVector $ V4 <$> getter <*> getter <*> getter <*> getter

-- The `getMat*` functions below use a style not recognized by Fourmolu
{- FOURMOLU_DISABLE -}

-- | 2x2 Matrix binary decoder
getMat2 :: Get a -> Get (Vector (M22 a))
getMat2 getter =
Expand Down Expand Up @@ -116,6 +119,8 @@ getMat4 getter =
(V4 m14 m24 m34 m44)
}

{- FOURMOLU_DISABLE -}

-- | Byte binary decoder
getByte :: Get Int8
getByte = getInt8
Expand Down

0 comments on commit c5d8a96

Please sign in to comment.