-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ derive, test ] Move generator's printer to the main lib + cleanup
- Loading branch information
Showing
340 changed files
with
1,218 additions
and
1,393 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 |
---|---|---|
@@ -1,11 +1,12 @@ | ||
module DerivedGen | ||
|
||
import PrintDerivation | ||
|
||
import Data.List.Covering | ||
|
||
import Deriving.DepTyCheck.Gen | ||
|
||
%default total | ||
|
||
%language ElabReflection | ||
|
||
%runElab printDerived $ Fuel -> {n : Nat} -> (bs : BitMask n) -> Gen MaybeEmpty $ CoveringSequence n bs | ||
%logging "deptycheck.derive.print" 5 | ||
%runElab deriveGenPrinter $ Fuel -> {n : Nat} -> (bs : BitMask n) -> Gen MaybeEmpty $ CoveringSequence n bs |
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
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,11 +1,12 @@ | ||
module DerivedGen | ||
|
||
import PrintDerivation | ||
|
||
import Data.List.Sorted | ||
|
||
import Deriving.DepTyCheck.Gen | ||
|
||
%default total | ||
|
||
%language ElabReflection | ||
|
||
%runElab printDerived $ Fuel -> Gen MaybeEmpty SortedList | ||
%logging "deptycheck.derive.print" 5 | ||
%runElab deriveGenPrinter $ Fuel -> Gen MaybeEmpty SortedList |
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
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 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,10 +1,12 @@ | ||
module DerivedGen | ||
|
||
import AlternativeCore | ||
import PrintDerivation | ||
|
||
import Deriving.DepTyCheck.Gen | ||
|
||
%default total | ||
|
||
%language ElabReflection | ||
|
||
%runElab printDerived @{EmptyBody} $ Fuel -> Gen MaybeEmpty Unit | ||
%logging "deptycheck.derive.print" 5 | ||
%runElab deriveGenPrinter @{EmptyBody} $ Fuel -> Gen MaybeEmpty Unit |
1 change: 0 additions & 1 deletion
1
tests/derivation/infra/empty-body print 001/PrintDerivation.idr
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
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,12 +1,14 @@ | ||
module DerivedGen | ||
|
||
import AlternativeCore | ||
import PrintDerivation | ||
|
||
import Deriving.DepTyCheck.Gen | ||
|
||
import Data.Vect | ||
|
||
%default total | ||
|
||
%language ElabReflection | ||
|
||
%runElab printDerived @{EmptyBody} $ Fuel -> (n : Nat) -> (a : Type) -> Gen MaybeEmpty (Vect n a) | ||
%logging "deptycheck.derive.print" 5 | ||
%runElab deriveGenPrinter @{EmptyBody} $ Fuel -> (n : Nat) -> (a : Type) -> Gen MaybeEmpty (Vect n a) |
1 change: 0 additions & 1 deletion
1
tests/derivation/infra/empty-body print 002/PrintDerivation.idr
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
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,12 +1,14 @@ | ||
module DerivedGen | ||
|
||
import AlternativeCore | ||
import PrintDerivation | ||
|
||
import Deriving.DepTyCheck.Gen | ||
|
||
import Data.Vect | ||
|
||
%default total | ||
|
||
%language ElabReflection | ||
|
||
%runElab printDerived @{EmptyBody} $ Fuel -> (Fuel -> Gen MaybeEmpty Nat) => Gen MaybeEmpty Bool | ||
%logging "deptycheck.derive.print" 5 | ||
%runElab deriveGenPrinter @{EmptyBody} $ Fuel -> (Fuel -> Gen MaybeEmpty Nat) => Gen MaybeEmpty Bool |
1 change: 0 additions & 1 deletion
1
tests/derivation/infra/empty-body print 003/PrintDerivation.idr
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
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
1 change: 0 additions & 1 deletion
1
tests/derivation/infra/empty-body print 004/PrintDerivation.idr
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
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
1 change: 0 additions & 1 deletion
1
tests/derivation/infra/empty-body print 005/PrintDerivation.idr
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
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,12 +1,14 @@ | ||
module DerivedGen | ||
|
||
import AlternativeCore | ||
import PrintDerivation | ||
|
||
import Deriving.DepTyCheck.Gen | ||
|
||
import Data.Vect | ||
|
||
%default total | ||
|
||
%language ElabReflection | ||
|
||
%runElab printDerived @{EmptyBody} $ Fuel -> (a : Type) -> Gen MaybeEmpty (n : Nat ** Vect n a) | ||
%logging "deptycheck.derive.print" 5 | ||
%runElab deriveGenPrinter @{EmptyBody} $ Fuel -> (a : Type) -> Gen MaybeEmpty (n : Nat ** Vect n a) |
1 change: 0 additions & 1 deletion
1
tests/derivation/infra/empty-body print 006/PrintDerivation.idr
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
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
1 change: 0 additions & 1 deletion
1
tests/derivation/infra/empty-body print 007/PrintDerivation.idr
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
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,12 +1,14 @@ | ||
module DerivedGen | ||
|
||
import AlternativeCore | ||
import PrintDerivation | ||
|
||
import Deriving.DepTyCheck.Gen | ||
|
||
import Data.Vect | ||
|
||
%default total | ||
|
||
%language ElabReflection | ||
|
||
%runElab printDerived @{EmptyBody} $ Fuel -> Gen MaybeEmpty (n : Nat ** a : Type ** Vect n a) | ||
%logging "deptycheck.derive.print" 5 | ||
%runElab deriveGenPrinter @{EmptyBody} $ Fuel -> Gen MaybeEmpty (n : Nat ** a : Type ** Vect n a) |
1 change: 0 additions & 1 deletion
1
tests/derivation/infra/empty-body print 008/PrintDerivation.idr
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
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,6 +1,8 @@ | ||
module DerivedGen | ||
|
||
import AlternativeCore | ||
|
||
import Deriving.DepTyCheck.Gen | ||
import RunDerivedGen | ||
|
||
%default total | ||
|
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,6 +1,8 @@ | ||
module DerivedGen | ||
|
||
import AlternativeCore | ||
|
||
import Deriving.DepTyCheck.Gen | ||
import RunDerivedGen | ||
|
||
%default total | ||
|
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,6 +1,8 @@ | ||
module DerivedGen | ||
|
||
import AlternativeCore | ||
|
||
import Deriving.DepTyCheck.Gen | ||
import RunDerivedGen | ||
|
||
%default total | ||
|
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,6 +1,8 @@ | ||
module DerivedGen | ||
|
||
import AlternativeCore | ||
|
||
import Deriving.DepTyCheck.Gen | ||
import RunDerivedGen | ||
|
||
%default total | ||
|
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,6 +1,8 @@ | ||
module DerivedGen | ||
|
||
import AlternativeCore | ||
|
||
import Deriving.DepTyCheck.Gen | ||
import RunDerivedGen | ||
|
||
%default total | ||
|
Oops, something went wrong.