caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* meaning of underscores
@ 1996-11-28 10:20 Goffinet
  1996-11-28 14:05 ` Pierre Weis
  0 siblings, 1 reply; 2+ messages in thread
From: Goffinet @ 1996-11-28 10:20 UTC (permalink / raw)
  To: caml-list

        Sorry another silly question!

        if you défine a "compose" function (compose g f returne g o f), and
ask for 

compose compose compose;;

        you get the expected types in the answer, but each of them is
prefixed by an underscore:

- : ('_a -> '_b) -> ('_c -> '_d -> '_a) -> '_c -> '_d -> '_b = <fun>

        I could not find help on theses _ , which seem to affect nothing,
this triple compose when evaluated works as expected. Is it in the reference
books? in the electronic reference manuel? somewhere in the iria server?

        thanks, and many roars

                        goffinet

Note: camels do roar






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

* Re: meaning of underscores
  1996-11-28 10:20 meaning of underscores Goffinet
@ 1996-11-28 14:05 ` Pierre Weis
  0 siblings, 0 replies; 2+ messages in thread
From: Pierre Weis @ 1996-11-28 14:05 UTC (permalink / raw)
  To: Goffinet; +Cc: caml-list

>         you get the expected types in the answer, but each of them is
> prefixed by an underscore:

[English]
Have a look at the Caml FAQ:

http://pauillac.inria.fr/caml/FAQ/FAQ_EXPERT-eng.html#variables_de_types_faibles

[Franc,ais]
Regardez la Foire aux Questions du langage:

http://pauillac.inria.fr/caml/FAQ/FAQ_EXPERT-fra.html#variables_de_types_faibles

This must help a lot.

Pierre Weis

INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis







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

end of thread, other threads:[~1996-11-28 14:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-11-28 10:20 meaning of underscores Goffinet
1996-11-28 14:05 ` Pierre Weis

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).