caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: David Fox <david.fox@lindows.com>
To: "William D. Neumann" <wneumann@cs.unm.edu>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] [repost] Request for more String functions
Date: Fri, 20 Feb 2004 17:18:05 -0800	[thread overview]
Message-ID: <4036B1CD.8080008@lindows.com> (raw)
In-Reply-To: <Pine.LNX.4.56.0402201302270.14751@clovis.cs.unm.edu>

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



William D. Neumann wrote:

>On Fri, 20 Feb 2004, Richard Jones wrote:
>
>  
>
>>String.truncate  - truncate a string to a given length
>>    
>>
>
>I call my version procrustes, because it will also pad a string that is
>too short with an optional padding character (defaults to ' ').  In any case,
>it would be great to see some of these functions added to the standard
>library so I wouldn't have to tote around my Wdn module...
>  
>
The Scheme standard calls these functions "take" (take the first n 
elements) and
"drop" (drop the first n elements.)  I don't think it padded them.

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

      reply	other threads:[~2004-02-21  1:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-20 17:28 Richard Jones
2004-02-20 19:34 ` Dustin Sallings
2004-02-20 19:44   ` Richard Jones
2004-02-20 19:54     ` Shawn Wagner
2004-02-21  2:07       ` ChoJin
2004-02-20 20:08     ` William D. Neumann
2004-02-21  1:18       ` David Fox [this message]

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=4036B1CD.8080008@lindows.com \
    --to=david.fox@lindows.com \
    --cc=caml-list@inria.fr \
    --cc=wneumann@cs.unm.edu \
    /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;
as well as URLs for NNTP newsgroup(s).