Hi,
I want to select a set of values not matching a given pattern.
How do I specify that in links.
for matching a particular word , I am using ~ /^.*{word}.*/
if i want to get those which are not matchin the word, what operator
should I be using?
Thanks and Regards
Ravi
On Sat, 5 Jul 2008, [EMAIL PROTECTED] wrote:
Send links-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.inf.ed.ac.uk/mailman/listinfo/links-users
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of links-users digest..."
Today's Topics:
1. Reg : implentation of Abstract data types (Ravi Dangeti)
2. Re: Reg : implentation of Abstract data types (Ezra Cooper)
----------------------------------------------------------------------
Date: Fri, 4 Jul 2008 17:27:12 +0100 (BST)
From: Ravi Dangeti <[EMAIL PROTECTED]>
To: [email protected]
Subject: [links-users] Reg : implentation of Abstract data types
Message-ID: <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
MIME-Version: 1.0
Precedence: list
Message: 1
hi..
thanks to all. i was able to implement the string splitter function.
i would like to implement stacks in links. i need this inorder to convert
infix to postfix and then evaluate the post fix expression.
are there any predefined structures for doing this?
thanks and regards
ravi
On Fri, 27 Jun 2008, Ravi Dangeti wrote:
Hi,
I get a string like "((fred) and (barney)) or (fred)". I need to split this
into individual words "fred","and","barney","or","fred2 . I was not able to
make out how to go about in links. Any functions to do such string splitting?
thanks and regards
Ravi
On Fri, 27 Jun 2008, Steve Strugnell wrote:
Links has a few functions that operate on lists which you might find
useful in implementing your own function that returns a boolean value for
whether a particular element exists. I would suggest looking at the
search() and isJust() functions on this page:
http://groups.inf.ed.ac.uk/links/quick-help.html
Regards,
--
Steve
Ravi Dangeti wrote:
Hi,
I am trying to implement the duplicate removal for a list.
I want to check if the head of list is contained in the tail
of the list.
So i need a function which returns a boolean value suggesting
whether tail contains the head or not. Is there any function
to see if the given element is contained in a list?
Thanks and Regards
Ravi
On Thu, 26 Jun 2008, Ezra Cooper wrote:
Ravi Dangeti wrote:
Are there any functions to remove
duplicates from a list and identify
common and different elements between
two lists?
Nope, I don't think we have those. Looks like
another fun programming task for you!
Ezra
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
_______________________________________________
links-users mailing list
[email protected]
http://lists.inf.ed.ac.uk/mailman/listinfo/links-users