mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Add JSON builtin, pass along solved specializations per module
This commit is contained in:
parent
312cdd0b70
commit
0f4be93e44
8 changed files with 93 additions and 13 deletions
|
@ -12,6 +12,7 @@ pub fn module_source(module_id: ModuleId) -> &'static str {
|
|||
ModuleId::BOX => BOX,
|
||||
ModuleId::BOOL => BOOL,
|
||||
ModuleId::ENCODE => ENCODE,
|
||||
ModuleId::JSON => JSON,
|
||||
_ => panic!(
|
||||
"ModuleId {:?} is not part of the standard library",
|
||||
module_id
|
||||
|
@ -28,3 +29,4 @@ const SET: &str = include_str!("../roc/Set.roc");
|
|||
const BOX: &str = include_str!("../roc/Box.roc");
|
||||
const BOOL: &str = include_str!("../roc/Bool.roc");
|
||||
const ENCODE: &str = include_str!("../roc/Encode.roc");
|
||||
const JSON: &str = include_str!("../roc/Json.roc");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue