-
... Warnings=true| ^JSONlib.convertToJSON(this, customEncoder, postWarnings); } } + Dictionary { asJSON {|customEncoder=nil, postWarnings=true| ^JSONlib.convertToJSON(this, customEncoder, postWarnings); } }
-
... Symbol is passed, length can be assigned to an envir variable later on. envir - Dictionary or one of the Symbols \top, \t (topEnvironment), \current, \c (currentEnvironment). Dictionary to be taken for variable reference. Defaults to \curre ...
-
... (type: \psSet, gt: 1, t_trig: 1, proto: (proxyspace: this)); if(event.isKindOf(Dictionary)) { out.putAll(event) }; ^out } }
-
... Symbol is passed, length can be assigned to an envir variable later on. envir - Dictionary or one of the Symbols \top, \t (topEnvironment), \current, \c (currentEnvironment). Dictionary to be taken for variable reference. Defaults to \curre ...
-
... Symbol is passed, length can be assigned to an envir variable later on. envir - Dictionary or one of the Symbols \top, \t (topEnvironment), \current, \c (currentEnvironment). Dictionary to be taken for variable reference. Defaults to \curre ...
-
... es); }; if (this.first.isKindOf(Symbol)) { ^NamedList.fromPairs(this); }; } } + Dictionary { asNamedList { |names| ^NamedList.fromDict(this, names); } }
-
+ Collection { itemsHisto { var dict = Dictionary.new; this.do { |el| var n = dict[el] ? 0; dict[el] = n + 1 }; ^dict } duplicates { ^this.itemsHisto.select(_ > 1).keys(Array) } }
-
// HierSchDict (c) 2007 - 2008 Tom Hall // version 2007-02-3 HierSchDict : Dictionary { // counter is new arg addEntry {arg when, pri, fn, streamVal, counter; this.put(when, this[when].add([pri, fn, streamVal, counter])); } beatInfo {arg be ...
-
... Symbol is passed, length can be assigned to an envir variable later on. envir - Dictionary or one of the Symbols \top, \t (topEnvironment), \current, \c (currentEnvironment). Dictionary to be taken for variable reference. Defaults to \curre ...
-
... Symbol is passed, length can be assigned to an envir variable later on. envir - Dictionary or one of the Symbols \top, \t (topEnvironment), \current, \c (currentEnvironment). Dictionary to be taken for variable reference. Defaults to \curre ...