Fork me on GitHub
#specter
<
2018-10-26
>
roklenarcic12:10:49

here's a simple transformation: I want to delete all map entries where value is empty string

roklenarcic12:10:13

tried with compact and transform function that transforms "" values to nil

roklenarcic12:10:19

but that doesn't remove the key

roklenarcic12:10:27

nvm figured it out: (setval [MAP-VALS (pred= "")] NONE {:a "" :b 5})