Search found 5 matches

by mijokijo
Mon Jan 05, 2009 9:12 pm
Forum: Common Lisp
Topic: Languages implemented on Lisp?
Replies: 10
Views: 26368

Re: Languages implemented on Lisp?

I think you're lost.
by mijokijo
Tue Dec 09, 2008 1:01 pm
Forum: Common Lisp
Topic: New library: cl-php
Replies: 6
Views: 11051

Re: New library: cl-php

Woah woah hey woah!

What about CL-ROR? 8-)

If you are looking for a recursive acronym as proposed above, how about CL-LNP (LNP is no PHP)?
by mijokijo
Fri Dec 05, 2008 3:48 pm
Forum: Common Lisp
Topic: Choose numbers at random
Replies: 14
Views: 24392

Re: Choose numbers at random

'Eeeeeeyyyyy!

While it probably will be fine for my purpose, if ever it should seem slower than it should be, tell me what a good alternative to storing the values in a list would be? Hash tables?
by mijokijo
Fri Dec 05, 2008 1:28 pm
Forum: Common Lisp
Topic: Choose numbers at random
Replies: 14
Views: 24392

Re: Choose numbers at random

Excellent! The function for the range is clever, I would have been banging my head for hours on that one. As for the second function, I should have paid closer attention in PCL when it talks about sequences and vectors. I was searching the Hyperspec for stuff related to numbers, when I should have b...
by mijokijo
Fri Dec 05, 2008 10:46 am
Forum: Common Lisp
Topic: Choose numbers at random
Replies: 14
Views: 24392

Choose numbers at random

Wazzaaaaaa! I'm trying to create two different functions that choose numbers at random. I want something like this: (ranged-random 1 10) RANGED-RANDOM would simply pick a number given the range (inclusively) I also want something like this: (list-random '(6 8 15 90 3 5)) LIST-RANDOM would pick one o...