# statusworks.# intro"util" is a library with various commonly used functions. some arein other standard libraries (like string.m, lists.m), others arenot. this library was written because having to write these functionsall the time (which is still faster than copy-pasting) is annoying.the modules are named with a numerical suffix, a version number.incompatible version of future libraries (e.g. with changed functiondefinitions) will have a new number. this ensures existing programsusing this library will not have to be modified after such aninterface change.note that there is currently no documentation for the functions(the code is documentation for now!). the test program is usefultoo.# installmodify mkconfig if you don't have $ROOT set. now type "mk install"to compile and install.when building from within inferno, insert SYSHOST=Inferno and ROOT=in the mk invocations to override the values in the mkconfig.# downloadget the latest version at http://www.ueber.net/code/r/util# licence & authorall files are in the public domain. this code has been written bymechiel lukkien, reachable at mechiel@ueber.net or mechiel@xs4all.nl.# todo- implement qsort- add a bytepos, readline? from sea-gull
# status
works.
# intro
"util" is a library with various commonly used functions. some are
in other standard libraries (like string.m, lists.m), others are
not. this library was written because having to write these functions
all the time (which is still faster than copy-pasting) is annoying.
the modules are named with a numerical suffix, a version number.
incompatible version of future libraries (e.g. with changed function
definitions) will have a new number. this ensures existing programs
using this library will not have to be modified after such an
interface change.
note that there is currently no documentation for the functions
(the code is documentation for now!). the test program is useful
too.
# install
modify mkconfig if you don't have $ROOT set. now type "mk install"
to compile and install.
when building from within inferno, insert SYSHOST=Inferno and ROOT=
in the mk invocations to override the values in the mkconfig.
# download
get the latest version at
http://www.ueber.net/code/r/util
# licence & author
all files are in the public domain. this code has been written by
mechiel lukkien, reachable at mechiel@ueber.net or mechiel@xs4all.nl.
# todo
- implement qsort
- add a bytepos, readline? from sea-gull