Rename the widget IDs to not include numbers.
This commit is contained in:
parent
e4743bbdef
commit
8f2b2addc2
|
@ -462,7 +462,7 @@ and already be up-to-speed on a big chunk of the content.
|
|||
| {{< latex >}}\frac{e_1 : \text{number}\quad e_2 : \text{number}}{e_1+e_2 : \text{number}} {{< /latex >}}| Adding numbers gives a number |
|
||||
|
||||
#### Playground
|
||||
{{< bergamot_widget id="widget-one" query="" prompt="PromptConverter @ prompt(type(?term, ?t)) <- input(?term);" >}}
|
||||
{{< bergamot_widget id="widget" query="" prompt="PromptConverter @ prompt(type(?term, ?t)) <- input(?term);" >}}
|
||||
section "" {
|
||||
TNumber @ type(lit(?n), number) <- num(?n);
|
||||
TString @ type(lit(?s), string) <- str(?s);
|
||||
|
|
|
@ -261,7 +261,7 @@ It has two modes:
|
|||
`type(empty, ?e, tpair(number, string))` to search for expressions that have
|
||||
the type "a pair of a number and a string".
|
||||
|
||||
{{< bergamot_widget id="widget-one" query="" prompt="PromptConverter @ prompt(type(empty, ?term, ?t)) <- input(?term);" >}}
|
||||
{{< bergamot_widget id="widget" query="" prompt="PromptConverter @ prompt(type(empty, ?term, ?t)) <- input(?term);" >}}
|
||||
section "" {
|
||||
TNumber @ type(?Gamma, lit(?n), number) <- num(?n);
|
||||
TString @ type(?Gamma, lit(?s), string) <- str(?s);
|
||||
|
|
Loading…
Reference in New Issue
Block a user