Search found 3 matches

by omouse
Tue Sep 08, 2009 11:47 pm
Forum: Lisp Quiz
Topic: Lisp Quiz #3
Replies: 3
Views: 13297

Re: Lisp Quiz #3

Small suggestion: How about making a class or some sort of "interface" that defines standard stuff for weather? I noticed that the two code examples above are using two different sources for the weather info but their output is nearly the same.
by omouse
Tue Sep 08, 2009 5:16 pm
Forum: Emacs Lisp
Topic: Specific indentatiom
Replies: 1
Views: 4005

Re: Specific indentatiom

I think to properly indent things, you would need to redefine a regular-expression somewhere that is used to define lines or words. I'm not sure exactly which variables the indentation-function uses.
by omouse
Tue Sep 08, 2009 5:14 pm
Forum: Emacs Lisp
Topic: nth element of a lisp
Replies: 5
Views: 16590

Re: nth element of a lisp

You would use a recursive function to get the nth element of the list using only CAR and CDR.

Click to find out more about RECURSION.

Click to find out more about the CAR function.

Click to find out more about the CDR function.