-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move some ListTable operations to Rel8.Array to avoid name clashes
- Loading branch information
1 parent
9fb4166
commit cc39a86
Showing
4 changed files
with
27 additions
and
11 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 |
---|---|---|
|
@@ -61,6 +61,7 @@ library | |
src | ||
exposed-modules: | ||
Rel8 | ||
Rel8.Array | ||
Rel8.Expr.Num | ||
Rel8.Expr.Text | ||
Rel8.Expr.Time | ||
|
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,26 @@ | ||
module Rel8.Array | ||
( | ||
-- ** @ListTable@ | ||
ListTable | ||
, head, headExpr | ||
, index, indexExpr | ||
, last, lastExpr | ||
, length, lengthExpr | ||
|
||
-- ** @NonEmptyTable@ | ||
, NonEmptyTable | ||
, head1, head1Expr | ||
, index1, index1Expr | ||
, last1, last1Expr | ||
, length1, length1Expr | ||
) | ||
where | ||
|
||
-- base | ||
import Prelude hiding (head, last, length) | ||
|
||
-- rel8 | ||
import Rel8.Expr.List | ||
import Rel8.Expr.NonEmpty | ||
import Rel8.Table.List | ||
import Rel8.Table.NonEmpty |
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