Skip to content

Commit

Permalink
trivial update; tag 0.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Nov 20, 2024
1 parent ac67735 commit 66816af
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion moon.mod.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tiye/cirru-parser",
"version": "0.0.7",
"version": "0.0.8",
"deps": {},
"readme": "README.md",
"repository": "https://github.com/Cirru/parser.mbt",
Expand Down
3 changes: 0 additions & 3 deletions moon.pkg.json

This file was deleted.

2 changes: 1 addition & 1 deletion src/lib/primes.mbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// Cirru uses nested Vecters and Strings as data structure
pub enum Cirru {
pub(all) enum Cirru {
/// Leaf node, with a string
Leaf(String)
/// List node, with a list of children
Expand Down
4 changes: 2 additions & 2 deletions src/lib/writer.mbt
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ fn render_newline(n : Int) -> String {
}

/// options for writer, `use_inline` for more compact format.
pub struct CirruWriterOptions {
pub(all) struct CirruWriterOptions {
use_inline : Bool
}

Expand All @@ -150,7 +150,7 @@ fn get_node_kind(self : Cirru) -> WriterNode {
}
}

pub type! FormatCirruError String
pub(all) type! FormatCirruError String

pub fn to_string(self : FormatCirruError) -> String {
match self {
Expand Down

0 comments on commit 66816af

Please sign in to comment.