Hi Vlad, On Thu, Nov 20, 2008 at 5:36 PM, prhlava <[EMAIL PROTECTED]> wrote: > > Hello Graham, > >> Bonus question for the bored reader: write a function, >> (byte-array-maker N), that takes a width N, and returns a function >> that takes an Integer as input and returns an N-width byte array >> containing the Integer in big-endian order. E.g. >> >> ((byte-array-maker 4) 652187261) >> => [4-byte array: 26, df, 96, 7d] > > :-) writing the function thought me quite a bit :-)
Then my work here is done. ;-) I'm glad you took the challenge! Best, Graham > > Vlad > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---