-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tim Romano wrote:
> The requirements for the flip() function I've requested are unambiguous: 
> simply reverse the string, raw codepoint by codepoint.  

My point was that your requirements are that, yet someone else wanting a
"flip" function could want something different (eg keep combining codepoints
together in the correct order).  That is where the ambiguity is.

> To lump my little string function request  in with a suite of 
> statistical functions is to consider a tricycle on par with an army 
> tank. Statistical functions are orders of magnitude more difficult to 
> implement.

Actually they aren't and are also very few lines of code (median & mode are
exceptions because it requires storing all values till the end).  Functions
like sin/cos/tan are all one liners and are also not in the SQLite core.

So wording things a different way, given various one liner functions have
not been added to the SQLite core why would flip be?

> If they say yes, they do, I will 
> have the option of learning C and writing the function myself (or I can 
> borrow one from a generous benefactor).  

I already pointed you at an implementation on the contrib page - you don't
have to learn anything.

In addition the host language you are using (Javascript) is perfectly
capable of reversing strings.  A simple for loop will do the trick.

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksG5eAACgkQmOOfHg372QS+bQCeMT7X7zSCgrs9r11A/0xWOJBr
pbwAnj+wyF62m+Waz1kkLpJaKw53OBQx
=nsip
-----END PGP SIGNATURE-----
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to