Skip to content

Latest commit

 

History

History
61 lines (54 loc) · 1.54 KB

TODO.org_archive

File metadata and controls

61 lines (54 loc) · 1.54 KB

Archived entries from file /Users/schani/Work/clojure/clojurec/TODO.org

Strings

ICU

http://site.icu-project.org/

GLib

http://developer.gnome.org/glib/2.32/glib-Unicode-Manipulation.html

Don’t pass env to functions, pass the whole closure

Then we don’t have to make a new closure for direct recursive functions (this_fn).

Calling a protocol from a method with the same name

(core-run ‘(do (defprotocol IFoo (-foo [o])) (deftype Bar [] IFoo (-foo [o] (print 1))) (deftype Baz [x] IFoo (-foo [o] (print 2) (-foo x))) ;; calls Baz.-foo instead of Bar.-foo (-foo (Baz (Bar)))))

Mutable type fields