Skip to content

Commit

Permalink
Fix choo to properly construct all paths (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
eamsden authored Oct 11, 2024
1 parent f2562b3 commit f3a6320
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion choo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "choo"
version.workspace = true
version = "0.1.1"
edition.workspace = true

[dependencies]
Expand Down
Binary file modified choo/bootstrap/choo.jam
Binary file not shown.
8 changes: 6 additions & 2 deletions choo/hoon/lib/kernel.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -238,13 +238,17 @@
raw
%+ turn raw.pile
|= [face=term pax=path]
[`face `path`(snoc pax %hoon)]
=/ pax-snip (snip pax)
=/ pax-rear (rear pax)
[`face `path`(snoc pax-snip `@ta`(rap 3 ~[pax-rear %'.' %hoon]))]
::
bar
%+ turn bar.pile
|= [face=term mark-unsupported=@tas pax=path]
?: =(mark-unsupported %hoon)
[`face `path`(snoc pax %hoon)]
=/ pax-snip (snip pax)
=/ pax-rear (rear pax)
[`face `path`(snoc pax-snip `@ta`(rap 3 ~[pax-rear %'.' %hoon]))]
~& unsupported-mark+[mark-unsupported pax]
!!
==
Expand Down

0 comments on commit f3a6320

Please sign in to comment.