Lines Matching refs:function
37 function* values() {
43 function wrap_iterator(iterator) {
45 iterable[Symbol.iterator] = function() { return iterator; };
49 function integers_until(max) {
50 function next() {
58 function results(results) {
60 function next() {
66 function* integers_from(n) {
71 function append(x, tail) {
76 function sum(x, tail) {
80 function fold(cons, seed, iterable) {
87 function* take(iterable, n) {
95 function nth(iterable, n) {
102 function* skip_every(iterable, n) {
110 function* iter_map(iterable, f) {
115 function nested_fold(cons, seed, iterable) {
125 function* unreachable(iterable) {
131 function one_time_getter(o, prop, val) {
132 function set_never() { throw "unreachable"; }
134 function get_once() {
143 function never_getter(o, prop) {
144 function never() { throw "unreachable"; }
149 function remove_next_after(iterable, n) {
151 function next() {
158 function poison_next_after(iterable, n) {
160 function next() {
163 function next_getter() {
233 function labelled_continue(iterable) {
245 function labelled_break(iterable) {
257 function catch_control(iterable, k) {
272 function() { throw "break" }));
275 function() { throw "continue" }));
278 function(x) {
284 function try_control(iterable, k) {
300 function() { return "break" }));
303 function() { return "continue" }));
306 function(x) { return (x == 5) ? x : "continue" }));
309 function transparent_proxy(x) {
311 get: function(receiver, name) { return x[name]; }
323 function poison_proxy_after(iterable, n) {
326 get: function(receiver, name) {
331 set: function(receiver, name, val) {