packages feed

hls-explicit-record-fields-plugin-1.0.1.0: test/testdata/noop/Infix.hs

{-# LANGUAGE Haskell2010 #-}

module Infix where

data MyRec = MyRec
  { foo :: Int
  , bar :: Int
  }

convertMe :: MyRec -> String
convertMe (foo' `MyRec` bar') = show foo' ++ show bar'