Skip to content

Commit

Permalink
update mbtis
Browse files Browse the repository at this point in the history
  • Loading branch information
lijunchen committed Apr 28, 2024
1 parent ade130a commit 99b1995
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/builtin.mbti
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ fn Byte::to_int(Byte) -> Int
fn Byte::to_string(Byte) -> String
fn Char::compare(Char, Char) -> Int
fn Char::default() -> Char
fn Char::from_int(Int) -> Char
fn Char::from_int_unchecked(Int) -> Char
fn Char::op_equal(Char, Char) -> Bool
fn Char::to_int(Char) -> Int
fn Int::asr(Int, Int) -> Int
Expand Down
5 changes: 5 additions & 0 deletions char/char.mbti
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
package moonbitlang/core/char

// Values
let max : Char

let min : Char

// Types and methods
fn Char::debug_write(Char, Buffer) -> Unit
fn Char::from_int(Int) -> Option[Char]
fn Char::hash(Char) -> Int
fn Char::is_valid(Char) -> Bool
fn Char::to_string(Char) -> String

// Traits
Expand Down

0 comments on commit 99b1995

Please sign in to comment.