I'm attempting to make a rogue-like dungeon generator in python. I'm pretty sure everything I'm doing is terrible, but if it works, I'm happy.
Anyways, I have a list of lists of lists. How would I be able to get to the creamy nueget center of my lists? I've only done this type of thing in Scheme which basically consisted of (first (first (first lst))). How do I do this in python?
Name:
Anonymous2008-11-15 18:29
Use c[a|d][a|d]*r.
ANYWAY, I have the same question, but about Haskell.
>>1
Don't ever spell ``nougat'' like that again. Jesus.
Name:
Anonymous2008-11-17 11:56
>>2
c[ad]+r
or: c[ad]{1,4}r
to be more CL/Scheme-like
there, fixed it for you... Or did you want it less efficient and accepting symbols like cad||dd|ar?
Name:
Trollbot90002009-07-01 8:50
nueget center of my mind and get a wrong result single Now go outside take some courses I missed and am now going to sage it That is AWESOME A pie formed like an horiboble corruption of C It takes C and not touching the stack is an array of base class pointers and the stupidest of people who are talking about Managed C is for idiot.