Skip to content

Commit

Permalink
Adds suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
popematt committed Dec 13, 2024
1 parent 79ddb8b commit e46f140
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion conformance/tdl/if_multi.ion
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"an expression group with a multiple macros that collectively produce a single value"
(mactab (macro is_multi () (.$ion::if_multi (.. (.values 0) (.none)) true false)))
(mactab (macro is_multi () (.$ion::if_multi (.. (.none) (.values 0)) true false)))
"an expression group with a single value and a macro produces nothing"
"an expression group with a single value and a macro that produces nothing"
(mactab (macro is_multi () (.$ion::if_multi (.. 0 (.none)) true false)))
(mactab (macro is_multi () (.$ion::if_multi (.. (.none) 0) true false)))
(then "then if_multi should produce the false branch"
Expand Down
2 changes: 1 addition & 1 deletion conformance/tdl/if_none.ion
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"an expression group with a multiple macros that collectively produce a single value"
(mactab (macro is_none () (.$ion::if_none (.. (.values 0) (.none)) true false)))
(mactab (macro is_none () (.$ion::if_none (.. (.none) (.values 0)) true false)))
"an expression group with a single value and a macro produces nothing"
"an expression group with a single value and a macro that produces nothing"
(mactab (macro is_none () (.$ion::if_none (.. 0 (.none)) true false)))
(mactab (macro is_none () (.$ion::if_none (.. (.none) 0) true false)))
"an expression group with multiple values"
Expand Down
4 changes: 2 additions & 2 deletions conformance/tdl/if_single.ion
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@
"an expression group with a multiple macros that collectively produce a single value"
(mactab (macro is_single () (.$ion::if_single (.. (.values 0) (.none)) true false)))
(mactab (macro is_single () (.$ion::if_single (.. (.none) (.values 0)) true false)))
"an expression group with a single value and a macro produces nothing"
"an expression group with a single value and a macro that produces nothing"
(mactab (macro is_single () (.$ion::if_single (.. 0 (.none)) true false)))
(mactab (macro is_single () (.$ion::if_single (.. (.none) 0) true false)))
(then "then if_single should produce the true branch"
(toplevel ('#$:is_single'))
(produces true))))

(ion_1_1 "when the first argument is some"
(ion_1_1 "when the first argument is a single value"
(then "the 'true_branch' argument can be"
(each "an empty expression group"
(mactab (macro is_single () (.$ion::if_single "something" (..) false)))
Expand Down
2 changes: 1 addition & 1 deletion conformance/tdl/if_some.ion
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"an expression group with a multiple macros that collectively produce a single value"
(mactab (macro is_some () (.$ion::if_some (.. (.values 0) (.none)) true false)))
(mactab (macro is_some () (.$ion::if_some (.. (.none) (.values 0)) true false)))
"an expression group with a single value and a macro produces nothing"
"an expression group with a single value and a macro that produces nothing"
(mactab (macro is_some () (.$ion::if_some (.. 0 (.none)) true false)))
(mactab (macro is_some () (.$ion::if_some (.. (.none) 0) true false)))
"an expression group with multiple values"
Expand Down

0 comments on commit e46f140

Please sign in to comment.