-
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#484] Generated source files improvements
- Loading branch information
Showing
19 changed files
with
67 additions
and
78 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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
module Main (main) where | ||
|
||
import CabalFull (someFunc) | ||
import CabalFull (projectName) | ||
|
||
|
||
main :: IO () | ||
main = someFunc | ||
main = putStrLn ("Executable for " ++ projectName) |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
module Main (main) where | ||
|
||
import Gauge.Main | ||
import CabalFull (projectName) | ||
|
||
|
||
main :: IO () | ||
main = defaultMain [bench "const" (whnf const ())] | ||
main = putStrLn ("Benchmarks for " ++ projectName) |
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
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
module Main (main) where | ||
|
||
import CabalFull (projectName) | ||
|
||
|
||
main :: IO () | ||
main = putStrLn ("Test suite is not implemented" :: String) | ||
main = putStrLn ("Tests for " ++ projectName) |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
module Main (main) where | ||
|
||
import FullBatteries (someFunc) | ||
import FullBatteries (projectName) | ||
|
||
|
||
main :: IO () | ||
main = someFunc | ||
main = putStrLn ("Executable for " ++ projectName) |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
module Main (main) where | ||
|
||
import Gauge.Main | ||
import FullBatteries (projectName) | ||
|
||
|
||
main :: IO () | ||
main = defaultMain [bench "const" (whnf const ())] | ||
main = putStrLn ("Benchmarks for " ++ projectName) |
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
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
module Main (main) where | ||
|
||
import FullBatteries (projectName) | ||
|
||
|
||
main :: IO () | ||
main = putStrLn ("Test suite is not implemented" :: String) | ||
main = putStrLn ("Tests for " ++ projectName) |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
module Main (main) where | ||
|
||
import StackFull (someFunc) | ||
import StackFull (projectName) | ||
|
||
|
||
main :: IO () | ||
main = someFunc | ||
main = putStrLn ("Executable for " ++ projectName) |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
module Main (main) where | ||
|
||
import Gauge.Main | ||
import StackFull (projectName) | ||
|
||
|
||
main :: IO () | ||
main = defaultMain [bench "const" (whnf const ())] | ||
main = putStrLn ("Benchmarks for " ++ projectName) |
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
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
module Main (main) where | ||
|
||
import StackFull (projectName) | ||
|
||
|
||
main :: IO () | ||
main = putStrLn ("Test suite is not implemented" :: String) | ||
main = putStrLn ("Tests for " ++ projectName) |
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