mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Turn on type caching for Encode, Decode, Hash
This commit is contained in:
parent
7e79ff55f1
commit
76ce025faa
3 changed files with 28 additions and 1 deletions
|
@ -1,9 +1,26 @@
|
|||
#![warn(clippy::dbg_macro)]
|
||||
// See github.com/roc-lang/roc/issues/800 for discussion of the large_enum_variant check.
|
||||
#![allow(clippy::large_enum_variant)]
|
||||
|
||||
use roc_module::symbol::ModuleId;
|
||||
pub mod docs;
|
||||
pub mod file;
|
||||
mod work;
|
||||
|
||||
#[cfg(target_family = "wasm")]
|
||||
mod wasm_instant;
|
||||
|
||||
pub const BUILTIN_MODULES: &[(ModuleId, &str)] = &[
|
||||
(ModuleId::BOOL, "Bool"),
|
||||
(ModuleId::RESULT, "Result"),
|
||||
(ModuleId::NUM, "Num"),
|
||||
(ModuleId::LIST, "List"),
|
||||
(ModuleId::STR, "Str"),
|
||||
(ModuleId::DICT, "Dict"),
|
||||
(ModuleId::SET, "Set"),
|
||||
(ModuleId::BOX, "Box"),
|
||||
(ModuleId::ENCODE, "Encode"),
|
||||
(ModuleId::DECODE, "Decode"),
|
||||
(ModuleId::HASH, "Hash"),
|
||||
(ModuleId::JSON, "Json"),
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue