packages feed

haskell-language-server-2.7.0.0: plugins/hls-pragmas-plugin/test/testdata/BeforeDocComment.hs

#! /usr/bin/env nix-shell
#! nix-shell --pure -i runghc -p "haskellPackages.ghcWithPackages (hp: with hp; [ turtle ])"
-- | Doc Comment
{- Block -}

module BeforeDocComment where

data Record = Record
  { a :: Int,
    b :: Double,
    c :: String
  }

f Record{a, b} = a