[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] Make the struct type parameterized ?
From: |
Evan Hanson |
Subject: |
Re: [Chicken-hackers] Make the struct type parameterized ? |
Date: |
Sun, 18 Feb 2018 20:51:11 +0000 |
Hey megane,
I like the idea here.
I think we'll want to use a different syntax, one that's hash-table
specific, similarly to how some other object types (conditions, threads,
some others) have their own types but rewrite to structs behind the
scenes. Even just dropping the `struct' and using `(hash-table ...)'
instead might work. Otherwise, we preclude further extensions to the
generic struct type syntax.
I'm opening a ticket to keep track of this idea, to which I'll add your
patch. Thanks for the prototype.
Cheers,
Evan