Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Rel8/Table/Bool.hs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import Rel8.Schema.HTable ( htabulate, hfield )
import Rel8.Table ( Table, fromColumns, toColumns )


-- | An if-then-else expression on tables.
-- | Case analysis for an @Expr Bool@. Corresponds to 'Data.Bool.bool'.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using the wording "Case analysis" from the description of Data.Bool.Bool, and the "Corresponding to ..." from the description of Rel8.Expr.Bool.boolExpr. Sound OK I guess?

--
-- @bool x y p@ returns @x@ if @p@ is @False@, and returns @y@ if @p@ is
-- @True@.
Expand Down