k-user AT lists.siebelschool.illinois.edu
Subject: K-user mailing list
List archive
- From: Dwight Guth <dwight.guth AT runtimeverification.com>
- To: Omar Duhaiby <3omarz AT gmail.com>
- Cc: "k-user AT cs.uiuc.edu" <k-user AT cs.uiuc.edu>, "Musab A. AlTurki" <musab AT kfupm.edu.sa>
- Subject: Re: [K-user] 'in' operator for List of Lists
- Date: Mon, 29 Dec 2014 09:04:02 -0600
- List-archive: <http://lists.cs.uiuc.edu/pipermail/k-user/>
- List-id: <k-user.cs.uiuc.edu>
What version of K are you using? I can confirm that this works correctly in the latest master...
On Sun, Dec 28, 2014 at 9:12 AM, Omar Duhaiby <3omarz AT gmail.com> wrote:
Omar AlzuhaibiI have the following list of lists:I want to check if the list (2,5) is in that list. Using the 'in' operator didn't work for me.
ListItem (
ListItem ( 1 )
ListItem ( 6 ) )
ListItem (
ListItem ( 1 )
ListItem ( 4 ) )
ListItem (
ListItem ( 2 )
ListItem ( 5 ) )
My intention was to make a list of coordinates. Perhaps there is a better representation for it. What do you think?Thank you
_______________________________________________
k-user mailing list
k-user AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/k-user
- [K-user] 'in' operator for List of Lists, Omar Duhaiby, 12/28/2014
- Re: [K-user] 'in' operator for List of Lists, Dwight Guth, 12/29/2014
- Re: [K-user] 'in' operator for List of Lists, Omar Duhaiby, 12/29/2014
- Re: [K-user] 'in' operator for List of Lists, Dwight Guth, 12/29/2014
Archive powered by MHonArc 2.6.16.