OSDN Git Service

Here is a basic implementation of fold[0]. It does not support multibyte characters...
authorSamuel Holland <samuel@sholland.net>
Thu, 3 Apr 2014 23:01:44 +0000 (18:01 -0500)
committerSamuel Holland <samuel@sholland.net>
Thu, 3 Apr 2014 23:01:44 +0000 (18:01 -0500)
commit547c8d980bb5ae37f8002aead4e155cc5554dfca
tree3eb8655cb862c03f23d0b0ee745875862e8a0e7a
parent7183a637432c9f0957e4e0e68b71e61a67fa89d6
Here is a basic implementation of fold[0]. It does not support multibyte characters, though that would probably just require more switch cases.
toys/pending/fold.c [new file with mode: 0644]