packages feed

haskell-language-server-2.7.0.0: plugins/hls-floskell-plugin/test/testdata/Floskell.formatted_document.hs

module Floskell where

import           Data.List
import           Prelude
import           Data.Int

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 }