-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleaned it up and started to bring it up to date
- removed various data cache directories - converted files with mixed tabs/spaces - removed trailing and empy line whitespace - added a .gitignore file - added a simple stack.yaml - added a simple script to build the demos - added a script to cleanup .tcachedata folders - Demos compile with Stack lts-13.x / GHC 8.6.4 - remmoved deprecated language extensions (no code changes) - blindly "fixed" one demo which had no main. - made DBRef.hs compile - made DynamicSample.hs compile
- Loading branch information
Showing
236 changed files
with
200 additions
and
340 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.tcachedata | ||
.stack-work | ||
*.hi | ||
*.o | ||
demos/bin/* | ||
demos/.build |
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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,16 @@ | ||
#!/bin/bash | ||
|
||
# This is a crude way to build all the demo files placing them into the | ||
# demos/bin folder and removing the build artifacts afterwards | ||
|
||
rm -rf ./demos/.build | ||
rm -rf ./demos/bin/* | ||
|
||
for fullfile in ./demos/*.hs; do | ||
filename=$(basename -- "$fullfile") | ||
binname="${filename%.*}" | ||
echo "$filename -> $binname" | ||
stack exec ghc -- -outputdir demos/.build $fullfile -o demos/bin/$binname | ||
done | ||
|
||
rm -rf ./demos/.build |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.