utils: Generalise unstringify-pairs.
This commit is contained in:
parent
9e0db04035
commit
83a87acfc5
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,8 @@
|
|||
'(("a" "(and a b)") ("b" "(or b (not a))")))
|
||||
(check-equal? (unstringify-pairs '(("a" . "1") ("b" . "(and a (not b))")))
|
||||
'((a . 1) (b . (and a (not b)))))
|
||||
(check-equal? (unstringify-pairs '(("a" . 1) ("b" . "(and a (not b))")))
|
||||
'((a . 1) (b . (and a (not b)))))
|
||||
(let ([m1 (read-org-variable-mapping "((\"a\" \"(and a b)\") (\"b\" \"(or b (not a))\"))")]
|
||||
[m2 (read-org-variable-mapping "((\"a\" . \"(and a b)\") (\"b\" . \"(or b (not a))\"))")]
|
||||
[m3 (unorg "((\"a\" . \"(and a b)\") (\"b\" . \"(or b (not a))\"))")])
|
||||
|
|
Loading…
Reference in a new issue