/** * part of Hachette * Facilitate listening to events * * Copyright (C) 2021 Wojtek Kosior * Redistribution terms are gathered in the `copyright' file. */ function make() { return new Set(); } function subscribe(observable, cb) { observable.add(cb); } function unsubscribe(observable, cb) { observable.delete(cb); } function broadcast(observable, event) { for (const callback of observable) callback(event); } const observables = {make, subscribe, unsubscribe, broadcast}; /* * EXPORTS_START * EXPORT observables * EXPORTS_END */ ix/'>guix
Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/slang.scm
AgeCommit message (Expand)Author
2018-11-07gnu: slang: Use a correct location for terminfo dirs....Mathieu Othacehe
2018-08-28gnu: slang: Update to 2.3.2....Marius Bakke
2018-03-16gnu: All snippets report errors using exceptions, else return #t....Mark H Weaver
2018-02-21gnu: slang: Update to 2.3.1a....Tobias Geerinckx-Rice
2018-01-21gnu: newt: Update to 0.52.20....Tobias Geerinckx-Rice