
Search found 8 matches
- Tue Mar 15, 2011 5:36 pm
- Forum: Emacs
- Topic: How to view texi files?
- Replies: 4
- Views: 40050
Re: How to view texi files?
Hehe, I have done this before. I am glad I'm not the only one! 

- Fri Jan 28, 2011 9:18 pm
- Forum: Common Lisp
- Topic: Newbie questions - and yes, its homework :-(
- Replies: 21
- Views: 26524
Re: Newbie questions - and yes, its homework :-(
The a tried doing the same with the stairs example, but failed miserably. However, it got me thinking - I realised that all of my approaches would give me a reversed list of my desired answer. So I figured, just to see if my thinking is right, I would create a function which gives back a reverse li...
- Thu Jan 27, 2011 8:54 pm
- Forum: Common Lisp
- Topic: Concatenating symbols
- Replies: 4
- Views: 10118
Re: Concatenating symbols
A possible solution would be to use (symbol-name ...) to transform the symbols into strings, concatenate them and then obtaining the final result by using (intern ...) but I think this can be quite inefficent. Is there a better way to do this? This would work (though I have no idea about efficiency...
- Tue Jan 11, 2011 7:16 am
- Forum: The Lounge
- Topic: Totally Newfang!
- Replies: 8
- Views: 20718
Re: Totally Newfang!
I use Lisp Cabinet. It comes with Emacs, Slime, and sbcl and ccl compilers already set up. (Unfortunately I can't seem to figure out how to attach new lisps to slime, but that's probably because I'm not working that hard on it.)
- Thu Jan 06, 2011 10:29 pm
- Forum: Common Lisp
- Topic: Cartesian product of 2 lists which is NOT dependent
- Replies: 8
- Views: 16058
Re: Cartesian product of 2 lists which is NOT dependent
It is also pretty easy to define a non-destructive version of mapcan that uses append instead of nconc (though I suppose it isn't really worth it unless you're using it repeatedly). If I remember correctly, Paul Graham defines it in On Lisp as: (defun mappend (&rest lists) (apply #'append lists)...
- Fri Dec 10, 2010 6:36 pm
- Forum: The Lounge
- Topic: Average Lisp age?
- Replies: 36
- Views: 548167
Re: Average Lisp age?
I am 16 (!). I started learning lisp (with PCL) when I was... 15? Maybe 14, but almost certainly 15. But then I went back to Python until my friend showed me how cool Lisp was (I already knew it was pretty cool, but also I thought it was too complicated for me; turns out it's not). Now I'm not sure ...
- Mon Nov 22, 2010 10:54 pm
- Forum: Common Lisp
- Topic: Haskell-style Partial Application
- Replies: 2
- Views: 4770
Re: Haskell-style Partial Application
Hm, thanks. I thought of using &rest, but for some reason I dismissed it as not feasible (though I was planning on using it to accept keyword arguments, and only keyword arguments). Also, alexandria:curry seems to be exactly what I wanted for my macroexpander; I'll have to look at the source for...
- Sun Nov 21, 2010 11:58 am
- Forum: Common Lisp
- Topic: Haskell-style Partial Application
- Replies: 2
- Views: 4770
Haskell-style Partial Application
Okay, I've been using Lisp for a few months now, and I love the language, but recently I tried Haskell and I really like some of the features. I don't think I'll necessarily need the type system, but I really like the curried functions, because it makes mapping very easy. So, I decided I'd write a r...