summaryrefslogtreecommitdiff
path: root/testsuite/tests/plugins/test-hole-plugin.hs
blob: dc6b67e1d2a0c9755c51362b789bb62fa282d76b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{-# OPTIONS -fplugin=HoleFitPlugin
            -fplugin-opt=HoleFitPlugin:4
            -funclutter-valid-hole-fits #-}
module Main where

import Prelude hiding (head, last)

import Data.List (head, last)


f, g, h, i, j :: [Int] -> Int
f = _too_long
j = _
i = _sort_by_mod_desc
g = _only_Data_List
h = _only_Prelude

main :: IO ()
main = return ()