Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Issac Trotts <ijtrotts@ucdavis.edu>
To: OCaml List <caml-list@inria.fr>
Subject: Re: [Caml-list] pipe puzzle
Date: Sat, 22 Feb 2003 15:35:26 -0800	[thread overview]
Message-ID: <3E58093E.1020905@ucdavis.edu> (raw)
In-Reply-To: <1045920990.1063.1.camel@ice>

Gerd Stolpmann wrote:

>Am Sam, 2003-02-22 um 06.05 schrieb Issac Trotts:
>  
>
>>>
>>>      
>>>
>>You're right.  Even ledit-1.11, which can handle suspend, cannot
>>handle (echo "let x=1;;"; ledit) | ocaml.  So now I simply use ledit ocaml
>>with ledit 1.11 and momentarily forget my wish to have a few commands
>>(not inside a module) that always run on startup.
>>    
>>
>
>You can put these commands into .ocamlinit (see docs about the
>toplevel system).
>
>Gerd
>
Thanks for the hint.  In the source for the toplevel, it says

  if Sys.file_exists ".ocamlinit" then ignore(use_silently ppf ".ocamlinit")

It would be nice if it opened ~/.ocamlinit but it's no big deal because the
alias can just be

  alias o='cp ~/.ocamlinit .ocamlinit; ledit ocaml'

So, as usual, OCaml can do what I want.  

Issac



-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2003-02-22 23:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-21  8:14 Issac Trotts
2003-02-21  8:46 ` [Caml-list] " Andrzej M. Ostruszka
2003-02-21  9:02 ` [Caml-list] " POUS Damien
2003-02-22  5:05   ` Issac Trotts
2003-02-22 13:36     ` Gerd Stolpmann
2003-02-22 23:35       ` Issac Trotts [this message]
2003-02-23 11:06         ` Stefano Zacchiroli
2003-02-21  9:05 ` IKEDA Katsumi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E58093E.1020905@ucdavis.edu \
    --to=ijtrotts@ucdavis.edu \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox