mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
Move Int and Float modules into Num
This commit is contained in:
parent
d041355c1d
commit
88990c8711
26 changed files with 543 additions and 547 deletions
|
@ -51,14 +51,13 @@ impl TagName {
|
|||
impl ModuleName {
|
||||
// NOTE: After adding one of these, go to `impl ModuleId` and
|
||||
// add a corresponding ModuleId to there!
|
||||
pub const FLOAT: &'static str = "Float";
|
||||
pub const BOOL: &'static str = "Bool";
|
||||
pub const INT: &'static str = "Int";
|
||||
pub const STR: &'static str = "Str";
|
||||
pub const NUM: &'static str = "Num";
|
||||
pub const LIST: &'static str = "List";
|
||||
pub const MAP: &'static str = "Map";
|
||||
pub const SET: &'static str = "Set";
|
||||
pub const NUM: &'static str = "Num";
|
||||
pub const RESULT: &'static str = "Result";
|
||||
|
||||
pub fn as_str(&self) -> &str {
|
||||
&*self.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue