All pastes #936934 Raw Edit

Miscellany

public diff v1 · immutable
·published 2008-03-10 19:05 UTC
rendered paste body
7c7< import tango.core.Array           : find;---> // //debug import tango.core.Array           : find;134c134< bool contains(char[] a, char b) { return a.find(b) != a.length; }---> bool contains(char[] a, char b) { foreach (c; a) if (c == b) return true; return false; }diff -r ccbi_src/mini/funge.d ../ccbi_fixed/mini/funge.d103c103<       auto file = MyBuffer(fc);--->       MyBuffer file; file.file=fc;diff -r ccbi_src/utils.d ../ccbi_fixed/utils.d73c73<       auto file = MyBuffer(fc);--->       MyBuffer file; file.file = fc;