Contains standard libraries for ZenCode.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ImmutableLiveString.zs 290B

12345678910111213
  1. import listeners.DummyListenerHandle;
  2. public class ImmutableLiveString {
  3. val value as string : get;
  4. public this(value as string) {
  5. this.value = value;
  6. }
  7. public implements LiveString {
  8. addListener(listener) => new DummyListenerHandle<LiveString.Listener>`unique(listener);
  9. }
  10. }