mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
improve compare/Order
This commit is contained in:
parent
cc89088f60
commit
0b19c594c5
3 changed files with 23 additions and 93 deletions
|
@ -11,6 +11,14 @@ extern "C" {
|
|||
|
||||
const REFCOUNT_1: usize = isize::MIN as usize;
|
||||
|
||||
#[repr(u8)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
pub enum RocOrder {
|
||||
Eq = 0,
|
||||
Gt = 1,
|
||||
Lt = 2,
|
||||
}
|
||||
|
||||
//#[macro_export]
|
||||
//macro_rules! roclist {
|
||||
// () => (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue