Closed
Description
-
With the following file
#! /usr/bin/env nix-shell #! nix-shell --pure -i runghc -p "haskellPackages.ghcWithPackages (hp: with hp; [ turtle ])" foo = id @()
-
Accept the suggestion to add the
TypeApplications
extension. -
Observe that the language extension is incorrectly inserted above the shebangs
I'm pretty sure I saw {-# LANGUAGE TypeApplications #-}
appear at the end of the #! nix-shell
line at one point, but I can't reproduce that
PRs welcome!