GitHub PushEvent at 2014-12-02 14:30:13
Repository: nix
Actor: shlevy
Payload: {"shas":[["2e259bb1747b566bfae30ab3fdb46bae3fa14e1c","2ad57049e5a4c55c398e1a2fc9bf3e78fb5d7c3a@shealevy.com","Allow external code using libnixexpr to add types\n\nCode that links to libnixexpr (e.g. plugins loaded with importNative, or\nnix-exec) may want to provide custom value types and operations on\nvalues of those types. For example, nix-exec is currently using sets\nwhere a custom IO value type would be more appropriate. This commit\nprovides a generic hook for such types in the form of tExternal and the\nExternalBase virtual class, which contains all functions necessary for\nlibnixexpr's type-polymorphic functions (e.g. `showType`) to be\nimplemented.","Shea Levy",true]],"size":1,"ref":"refs/heads/external-value","head":"2e259bb1747b566bfae30ab3fdb46bae3fa14e1c"}