Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "Bauer, Christoph" <Christoph.Bauer@lms-gmbh.de>
To: "'Jan Stamer'" <jan.stamer@neptun.uni-freiburg.de>, caml-list@inria.fr
Subject: AW: [Caml-list] Concatenation of int and String
Date: Fri, 22 Oct 2004 16:20:03 +0200	[thread overview]
Message-ID: <D981925B4F2CD611870300E0184CEE9B0157F332@kaiserslautern1.lms-gmbh.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 216 bytes --]

> Hi Folks,
> 
> I am very new to OCaml and I am taking my first steps at the moment...
> 
> Can you tell me how to concatenate a int and a String?

let i = 42
and s = "hello" in string_of_int i ^ s

Christoph Bauer

[-- Attachment #2: Type: text/html, Size: 748 bytes --]

                 reply	other threads:[~2004-10-22 14:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=D981925B4F2CD611870300E0184CEE9B0157F332@kaiserslautern1.lms-gmbh.de \
    --to=christoph.bauer@lms-gmbh.de \
    --cc=caml-list@inria.fr \
    --cc=jan.stamer@neptun.uni-freiburg.de \
    /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