Skip to content

Commit

Permalink
change docstring phrasing, fix .mli files
Browse files Browse the repository at this point in the history
  • Loading branch information
FayCarsons committed Feb 16, 2024
1 parent 0223611 commit c94f844
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
10 changes: 5 additions & 5 deletions lib/color.ml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ let black = (0, 0, 0)
(** RGB code for white *)
let white = (255, 255, 255)

(** RGB color code for red *)
(** RGB code for red *)
let red = (255, 1, 1)

(** RGB color code for green *)
(** RGB code for green *)
let green = (1, 255, 1)

(** RGB color code for blue *)
(** RGB code for blue *)
let blue = (1, 1, 255)

(** RGB color code for yellow *)
(** RGB code for yellow *)
let yellow = (255, 255, 1)

(** RGBA color constant to set transparent background *)
(** RGBA constant to set transparent background *)
let transparent = (0, 0, 0, 0)

(** Converts RGB color into opaque RGBA color.
Expand Down
1 change: 0 additions & 1 deletion lib/joy.ml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ let scale = Transform.scale
let translate = Transform.translate
let compose = Transform.compose
let repeat = Transform.repeat
let map_color = Transform.map_color
let map_fill = Transform.map_fill
let map_stroke = Transform.map_stroke

Expand Down
1 change: 0 additions & 1 deletion lib/joy.mli
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ val translate : int -> int -> transformation
val scale : float -> transformation
val compose : transformation -> transformation -> transformation
val repeat : int -> transformation -> transformation
val map_color : (color -> color) -> shape -> shape
val map_stroke : (color -> color) -> shape -> shape
val map_fill : (color -> color) -> shape -> shape

Expand Down
1 change: 0 additions & 1 deletion lib/transform.mli
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ val scale : float -> transformation
val rotate : int -> transformation
val compose : transformation -> transformation -> transformation
val repeat : int -> transformation -> transformation
val map_color : (Color.color -> Color.color) -> transformation
val map_fill : (Color.color -> Color.color) -> transformation
val map_stroke : (Color.color -> Color.color) -> transformation

0 comments on commit c94f844

Please sign in to comment.