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] polymorphic logic types and the use of type parameters?


  • Subject: [Frama-c-discuss] polymorphic logic types and the use of type parameters?
  • From: MarkoSchuetz at web.de (Marko Schütz Schmuck)
  • Date: Tue, 10 Feb 2015 18:49:48 -0400

Dear All,

for a list parameterized on the element type, I'd like to write:

/*@ axiomatic List {
  @ type list<A>;
  @ logic list<A> nil;
  @ logic list<A> cons(A x, list<A> xs);
  @ ...
  @*/

Frama-C Neon signals an error in line 4

user error: unexpected token 'A'

Is this due to the experimental nature of support for parameterized
types? Can I fix this easily or will I have to wait for a future
version of Frama-C?

Thanks and best regards,

Marko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP Digital Signature
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20150210/c132acb9/attachment.sig>