Home
Gustavo Lacerda

> recent entries
> calendar
> friends
> My Website
> profile

Saturday, May 17th, 2008
3:42p - bleg: shell inside emacs
I have emacs for Windows, and when I do M-x shell, I get a DOS prompt.

But since I have cygwin installed, I'd like to get my cygwin shell instead.

---

status (see below): solved, imperfectly (junk at prompt)

(8 comments |comment on this)

9:37p - Lisp<->ML
About 8 years ago, I made a multilingual dictionary to help you translate between programming languages (at the time, between C++, VB, JavaScript). I'm now tempted to start the same thing for Lisp<->ML.


Let f be a function of many variables. If the arguments you want to pass are in a list l, how do you apply f to the arguments?

Common Lisp:
(apply f l)

OCaml:
uncurry f l;;


If you have the arguments a, b, how do you apply f?

CL:
(funcall f a b)

Scheme:
(f a b)

OCaml:
f a b;;


oh, I need to be more careful about tuples vs lists.

(7 comments |comment on this)


<< previous day [calendar] next day >>

> top of page
LiveJournal.com