Wiki
Download
Manual
Eggs
API
Tests
Bugs
show
edit
history
You can edit this page using
wiki syntax
for markup.
Article contents:
== Outdated egg! This is an egg for CHICKEN 4, the unsupported old release. You're almost certainly looking for [[/eggref/5/uuid|the CHICKEN 5 version of this egg]], if it exists. If it does not exist, there may be equivalent functionality provided by another egg; have a look at the [[https://wiki.call-cc.org/chicken-projects/egg-index-5.html|egg index]]. Otherwise, please consider porting this egg to the current version of CHICKEN. == UUID A native Chicken Scheme implementation for UUID generation. Primary development maintained on Github. Canonical Github Repo: [[http://github.com/dsosby/chicken-uuid]] === Authors [[http://ramdump.com|David Sosby]] === Requirements Just Chicken === API <procedure>(uuid-v4 #!optional [randfn random])</procedure> Generates a purely random UUID conforming to RFC 4122 4.4. Uniqueness is dependent on a good random function. The default uses (extras random) but can be overridden with any function conforming to the (extras random) signature. Returns a string. === Examples <enscript language="scheme"> (use uuid) ;; Generate a UUID based on (extras random) (define decent-uuid (uuid-v4)) ;; Generate a UUID based on other random number generator (define (worse-random n) 1) (define worse-uuid (uuid-v4 worse-random)) ;; Get a list of UUIDs (use srfi-1) (define uuids (list-tabulate 5 (lambda (_) (uuid-v4)))) </enscript> === License BSD === Version History <table> <tr><th>Version</th><th>Comments</th></tr> <tr><td>0.1</td><td>Initial release with random UUID generation</td></tr> </table>
Description of your changes:
I would like to authenticate
Authentication
Username:
Password:
Spam control
What do you get when you subtract 20 from 17?