packages feed

haskell-language-server-2.7.0.0: plugins/hls-fourmolu-plugin/test/testdata/Fourmolu.formatted.hs

module Fourmolu where

import Data.List

import Data.Int
import Prelude

foo :: Int -> Int
foo 3 = 2
foo x = x
bar :: String -> IO String
bar s = do
    x <- return "hello"
    return "asdf"

data Baz = Baz {a :: Int, b :: String}