-
-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[test] test added for pragma addition after shebang
- Loading branch information
Ishmum Jawad Khan
committed
Feb 23, 2021
1 parent
7817a10
commit 50bd268
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#! /usr/bin/env nix-shell | ||
#! nix-shell --pure -i runghc -p "haskellPackages.ghcWithPackages (hp: with hp; [ turtle ])" | ||
|
||
module AfterShebang where | ||
|
||
data Record = Record | ||
{ a :: Int, | ||
b :: Double, | ||
c :: String | ||
} | ||
|
||
f Record{a, b} = a |