packages feed

haskell-language-server-2.7.0.0: plugins/hls-explicit-record-fields-plugin/test/testdata/noop/Prefix.hs

{-# LANGUAGE Haskell2010 #-}

module Prefix where

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

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