Why Nostr? What is Njump?
2024-02-07 08:18:45
in reply to

Simon Tournier on Nostr: npub19amud…hqjn6 npub14h4ey…ahpj0 The hidden O(n) is not obvious from the Guile ...



The hidden O(n) is not obvious from the Guile manual:

« This expression returns the first element of each list within LST. For
proper lists of proper lists, it is equivalent to ‘(map car lst)’. However,
it performs additional checks to make sure that LST and the lists therein are
proper lists, as prescribed by the pattern, raising an error if they are
not. »

Well “additional checks” is vague… :-)

https://www.gnu.org/software/guile/manual/html_node/Pattern-Matching.html
Author Public Key
npub1rgkatvlde7ms8whrqj2f4rhm9lp7xc2jea8a56qmywyqumtkf34qrpgj6x