Skip to content

Commit

Permalink
Rename Maybe to Optional
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Dec 8, 2023
1 parent 9265d90 commit 700f0fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/escritoire.scala
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ trait ColumnAlignment[-ColumnType]:
object Column:
def apply
[RowType, CellType, TextType]
(title: TextType, width: Maybe[Int] = Unset, align: Maybe[Alignment] = Unset,
(title: TextType, width: Optional[Int] = Unset, align: Optional[Alignment] = Unset,
breaks: Breaks = Breaks.Space, hide: Boolean = false)(get: RowType -> CellType)
(using textual: Textual[TextType], columnAlignment: ColumnAlignment[CellType] = ColumnAlignment.left)
(using textual.ShowType[CellType])
Expand Down Expand Up @@ -92,7 +92,7 @@ object Column:

case class Column
[RowType, TextType: Textual]
(title: TextType, get: RowType -> TextType, breaks: Breaks, align: Alignment, width: Maybe[Int],
(title: TextType, get: RowType -> TextType, breaks: Breaks, align: Alignment, width: Optional[Int],
hide: Boolean)

object Table:
Expand Down

0 comments on commit 700f0fa

Please sign in to comment.