{-# LANGUAGE Haskell2010 #-}

module PositionalConstruction where

data MyRec = MyRec
  { foo :: Int
  , bar :: Int
  , baz :: Char
  , (><) :: Int
  }

convertMe :: () -> MyRec
convertMe _ =
  let a = 3
      b = 5
      c = 'a'
      d = 8
  in MyRec a b c d
