-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'buzden:master' into remove-maybe-empty-deep
- Loading branch information
Showing
66 changed files
with
363 additions
and
72 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
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
package derive-test | ||
|
||
authors = "Denis Buzdalov" | ||
|
||
opts = "--no-color --console-width 0" | ||
|
||
depends = deptycheck |
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,7 +1,5 @@ | ||
package validate-input | ||
|
||
authors = "Denis Buzdalov" | ||
|
||
opts = "--no-color --console-width 0" | ||
|
||
depends = deptycheck |
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,5 @@ | ||
package arg-deps | ||
|
||
authors = "Denis Buzdalov" | ||
|
||
opts = "--no-color --console-width 0" | ||
|
||
depends = deptycheck |
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,5 @@ | ||
package canonic-sig | ||
|
||
authors = "Denis Buzdalov" | ||
|
||
opts = "--no-color --console-width 0" | ||
|
||
depends = deptycheck |
2 changes: 0 additions & 2 deletions
2
tests/derivation/utils/cons-analysis/_common-deep-cons-app/cons.ipkg
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,5 @@ | ||
package arg-deps | ||
|
||
authors = "Denis Buzdalov" | ||
|
||
opts = "--no-color --console-width 0" | ||
|
||
depends = deptycheck |
2 changes: 0 additions & 2 deletions
2
tests/derivation/utils/involved-types/_common-involved-types/inv-ty.ipkg
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,5 @@ | ||
package inv-tys | ||
|
||
authors = "Denis Buzdalov" | ||
|
||
opts = "--no-color --console-width 0" | ||
|
||
depends = deptycheck |
2 changes: 0 additions & 2 deletions
2
tests/derivation/utils/up-to-renaming-ttimp-eq/_common/renaming-ttimp-eq.ipkg
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,5 @@ | ||
package renaming-ttimp-eq | ||
|
||
authors = "Denis Buzdalov" | ||
|
||
opts = "--no-color --console-width 0" | ||
|
||
depends = deptycheck |
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,3 @@ | ||
package test | ||
|
||
authors = "Denis Buzdalov" | ||
|
||
depends = deptycheck |
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,20 @@ | ||
module UseGen | ||
|
||
import Data.List.Lazy | ||
|
||
import Debug.Trace | ||
|
||
import Test.DepTyCheck.Gen | ||
|
||
import System.Random.Pure.StdGen | ||
|
||
%default total | ||
|
||
%cg chez lazy=weakMemo | ||
|
||
g : Gen MaybeEmpty Nat | ||
g = trace "--- outmost gen ---" $ oneOf | ||
[ pure $ trace "pure 6" 6 ] | ||
|
||
main : IO Unit | ||
main = putStrLn $ show $ unGenTryN 10 someStdGen g |
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,3 @@ | ||
pure 6 | ||
--- outmost gen --- | ||
[6, 6, 6, 6, 6, 6, 6, 6, 6, 6] |
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 @@ | ||
rm -rf build | ||
|
||
flock "$1" pack -q install-deps use-gen.ipkg && \ | ||
pack exec UseGen.idr | ||
|
||
rm -rf 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package dummy | ||
|
||
main = UseGen | ||
executable = use-gen | ||
|
||
depends = deptycheck |
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,18 @@ | ||
module UseGen | ||
|
||
import Data.List.Lazy | ||
|
||
import Debug.Trace | ||
|
||
import Test.DepTyCheck.Gen | ||
|
||
import System.Random.Pure.StdGen | ||
|
||
%default total | ||
|
||
g : Gen MaybeEmpty Nat | ||
g = trace "--- outmost gen ---" $ oneOf | ||
[ pure $ trace "pure 6" 6 ] | ||
|
||
main : IO Unit | ||
main = putStrLn $ show $ unGenTryN 10 someStdGen g |
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,3 @@ | ||
pure 6 | ||
--- outmost gen --- | ||
[6, 6, 6, 6, 6, 6, 6, 6, 6, 6] |
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 @@ | ||
rm -rf build | ||
|
||
flock "$1" pack -q install-deps use-gen.ipkg && \ | ||
pack exec UseGen.idr | ||
|
||
rm -rf 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package dummy | ||
|
||
main = UseGen | ||
executable = use-gen | ||
|
||
depends = deptycheck |
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,22 @@ | ||
module UseGen | ||
|
||
import Data.List.Lazy | ||
|
||
import Debug.Trace | ||
|
||
import Test.DepTyCheck.Gen | ||
|
||
import System.Random.Pure.StdGen | ||
|
||
%default total | ||
|
||
%cg chez lazy=weakMemo | ||
|
||
g : Gen MaybeEmpty Nat | ||
g = trace "--- outmost gen ---" $ oneOf | ||
[ pure $ trace "pure 6" 6 | ||
, pure $ trace "pure 5" 5 | ||
] | ||
|
||
main : IO Unit | ||
main = putStrLn $ show $ unGenTryN 10 someStdGen g |
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,4 @@ | ||
pure 6 | ||
--- outmost gen --- | ||
pure 5 | ||
[5, 6, 6, 6, 6, 5, 5, 5, 5, 5] |
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 @@ | ||
rm -rf build | ||
|
||
flock "$1" pack -q install-deps use-gen.ipkg && \ | ||
pack exec UseGen.idr | ||
|
||
rm -rf 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package dummy | ||
|
||
main = UseGen | ||
executable = use-gen | ||
|
||
depends = deptycheck |
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,5 @@ | ||
package dummy | ||
|
||
authors = "Denis Buzdalov" | ||
|
||
main = UseGen | ||
executable = use-gen | ||
|
||
|
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,26 @@ | ||
module UseGen | ||
|
||
import Data.List.Lazy | ||
|
||
import Debug.Trace | ||
|
||
import Test.DepTyCheck.Gen | ||
|
||
import System.Random.Pure.StdGen | ||
|
||
%default total | ||
|
||
%cg chez lazy=weakMemo | ||
|
||
g : Gen MaybeEmpty Nat | ||
g = trace "--- outmost gen ---" $ oneOf | ||
[ oneOf $ trace "-- list with pure 4, 5, 6 --" | ||
[ pure $ trace "pure 4" 4 | ||
, pure $ trace "pure 5" 5 | ||
, pure $ trace "pure 6" 6 | ||
] | ||
, pure $ trace "pure 7" 7 | ||
] | ||
|
||
main : IO Unit | ||
main = putStrLn $ show $ unGenTryN 10 someStdGen g |
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,7 @@ | ||
-- list with pure 4, 5, 6 -- | ||
pure 4 | ||
--- outmost gen --- | ||
pure 7 | ||
pure 5 | ||
pure 6 | ||
[7, 4, 4, 7, 7, 7, 7, 7, 5, 7] |
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 @@ | ||
rm -rf build | ||
|
||
flock "$1" pack -q install-deps use-gen.ipkg && \ | ||
pack exec UseGen.idr | ||
|
||
rm -rf 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package dummy | ||
|
||
main = UseGen | ||
executable = use-gen | ||
|
||
depends = deptycheck |
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,5 @@ | ||
package dummy | ||
|
||
authors = "Denis Buzdalov" | ||
|
||
main = UseGen | ||
executable = use-gen | ||
|
||
|
Oops, something went wrong.