Skip to content

Commit

Permalink
Update the FFI example for the new escaping rules
Browse files Browse the repository at this point in the history
  • Loading branch information
klntsky committed Nov 23, 2024
1 parent 3db02ad commit 20e389d
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions examples/foreign_functions.metaprompt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
\[@and false :with true ] = [@and false :with true]
\[@and true :with true ] = [@and true :with true]
\[@and true :with false] = [@and true :with false]
\[@and false :with false] = [@and false :with false]
\[@and] = [@and]
\[@and false :with true \] = [@and false :with true]
\[@and true :with true \] = [@and true :with true]
\[@and true :with false\] = [@and true :with false]
\[@and false :with false\] = [@and false :with false]
\[@and\] = [@and]


\[@or false :with true ] = [@or false :with true]
\[@or true :with true ] = [@or true :with true]
\[@or true :with false] = [@or true :with false]
\[@or false :with false] = [@or false :with false]
\[@or] = [@or]
\[@or false :with true \] = [@or false :with true]
\[@or true :with true \] = [@or true :with true]
\[@or true :with false\] = [@or true :with false]
\[@or false :with false\] = [@or false :with false]
\[@or\] = [@or]

\[@xor false :with true ] = [@xor false :with true]
\[@xor true :with true ] = [@xor true :with true]
\[@xor true :with false] = [@xor true :with false]
\[@xor false :with false] = [@xor false :with false]
\[@xor] = [@xor]
\[@xor false :with true \] = [@xor false :with true]
\[@xor true :with true \] = [@xor true :with true]
\[@xor true :with false\] = [@xor true :with false]
\[@xor false :with false\] = [@xor false :with false]
\[@xor\] = [@xor]

[@cite :prefix=>>> :with
[@strip
Expand Down

0 comments on commit 20e389d

Please sign in to comment.