caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Top level line limit?
@ 2005-10-28 17:57 Jacques Carette
  2005-10-29  1:06 ` [Caml-list] " Robert Roessler
  0 siblings, 1 reply; 3+ messages in thread
From: Jacques Carette @ 2005-10-28 17:57 UTC (permalink / raw)
  To: caml-list

A Google search found nothing, so I ask here:  Is there a hard limit to 
how much code can be pasted in to the top-level at once?

It seems that (at least from within emacs), there is a 20-line limit.  
Is that the top-level doing that, or is it something in the emacs setup?

Jacques C.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] Top level line limit?
  2005-10-28 17:57 Top level line limit? Jacques Carette
@ 2005-10-29  1:06 ` Robert Roessler
  2005-11-14  0:53   ` art yerkes
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Roessler @ 2005-10-29  1:06 UTC (permalink / raw)
  To: Jacques Carette; +Cc: caml-list

Jacques Carette wrote:
> A Google search found nothing, so I ask here:  Is there a hard limit to 
> how much code can be pasted in to the top-level at once?
> 
> It seems that (at least from within emacs), there is a 20-line limit.  
> Is that the top-level doing that, or is it something in the emacs setup?

I have no trouble handing >1300 lines at once to the toplevel... at 
least through RCaml, my toplevel LablGTK GUI. :)

Robert Roessler
roessler@rftp.com
http://www.rftp.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] Top level line limit?
  2005-10-29  1:06 ` [Caml-list] " Robert Roessler
@ 2005-11-14  0:53   ` art yerkes
  0 siblings, 0 replies; 3+ messages in thread
From: art yerkes @ 2005-11-14  0:53 UTC (permalink / raw)
  To: caml-list

On Fri, 28 Oct 2005 18:06:28 -0700
Robert Roessler <roessler@rftp.com> wrote:

> Jacques Carette wrote:
> > A Google search found nothing, so I ask here:  Is there a hard limit to 
> > how much code can be pasted in to the top-level at once?
> > 
> > It seems that (at least from within emacs), there is a 20-line limit.  
> > Is that the top-level doing that, or is it something in the emacs setup?

If you're finding that your system's clipboard is giving you trouble,
emacs can submit the previous form to an inferior caml in tuareg mode
automatically.

Try using 'C-x e' in tuareg mode after doing 'M-x tuareg-run-caml' in tuareg
mode.  You should be at the end of the toplevel form you want to submit.

If it seems like the toplevel is only evaluating the first of a few forms,
when you paste, you might want to make sure that each toplevel insertion
is terminated with ';;' also.
-- 
Here's a simple experiment. Stand on a train track between two locomotives
which are pushing on you with equal force in opposite directions. You will
exhibit no net motion. None the less, you may soon begin to notice that
something important is happening.
-- Robert Stirniman


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-14  0:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-28 17:57 Top level line limit? Jacques Carette
2005-10-29  1:06 ` [Caml-list] " Robert Roessler
2005-11-14  0:53   ` art yerkes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).