hls-pragmas-plugin-1.0.1.0: test/testdata/AfterAllWithMultipleInlines.expected.hs
#! /usr/bin/env nix-shell
#! nix-shell --pure -i runghc -p "haskellPackages.ghcWithPackages (hp: with hp; [ turtle ])"
{-# OPTIONS_GHC -Wall #-}
{-# OPTIONS_GHC -Wno-unused-imports #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TupleSections #-}
data Something = Something {
foo :: !String,
bar :: !Int
}
tupleSection = (1, ) <$> Just 2
{-# INLINE addOne #-}
addOne :: Int -> Int
addOne x = x + 1
{-# INLINE subOne #-}
subOne :: Int -> Int
subOne x = x - 1