Frama-C-discuss mailing list archives

This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] behavior, sub-behavior


  • Subject: [Frama-c-discuss] behavior, sub-behavior
  • From: yannick.moy at gmail.com (Yannick Moy)
  • Date: Tue Oct 21 17:06:40 2008
  • In-reply-to: <26A123B6838844FC8B483574F279E3A4@AHARDPLACE>
  • References: <26A123B6838844FC8B483574F279E3A4@AHARDPLACE>

Hi,

We did not plan to add such feature, but it should not be difficult to write
instead different behaviors: is_empty_and_found, is_empty_and_not_found,
is_not_empty. Moreover, you can share parts of your specification by
defining predicates.

Yannick


On Tue, Oct 21, 2008 at 1:22 PM, Christoph Weber <
Christoph.Weber@first.fraunhofer.de> wrote:

>  Hi, I'd like to know if there will be something like sub behavior.
>
> Thinking of a function find on an int array, where I'd like to separate
> is_empty & is_not_empty and if the array is not empty found & not_found.
>
>
> Thanks
>
> Christoph
>
> _______________________________________________
> Frama-c-discuss mailing list
> Frama-c-discuss@lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/frama-c-discuss
>
>


-- 
Yannick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20081021/0b100ff7/attachment.html