feat(snip): sets and implications (#6)

* feat: `ip` and `ib` for implications

* fix: string escaping

* feat: add curly brackets

* feat: replace st (set) with visual snippet
This commit is contained in:
Linus
2025-01-09 20:55:04 +01:00
committed by GitHub
parent 16673bc8c4
commit 820da200ab
2 changed files with 5 additions and 1 deletions

View File

@@ -20,6 +20,8 @@ return {
-- boolean logic
snip('no', 'not ', {}, math),
snip('ip', '==>> ', {}, math),
snip('ib', '<<== ', {}, math),
-- relations
snip('el', '= ', {}, math),
@@ -41,7 +43,8 @@ return {
snip('bxx', 'times.square ', {}, math),
-- sets
snip('set', '{<>}', { i(1) }, math),
-- 'st' to '{<>} in ./visual.lua
snip('set', '{<>|<>}', { i(1), i(2) }, math),
snip('es', 'emptyset ', {}, math),
snip('ses', '{emptyset} ', {}, math),
snip('sp', 'supset ', {}, math),