maybe, i completely missunderstand you. please, could you program your example
in another language than haskell, one you know better?
i'm not sure -- did you try to define variables instead of types?
data Employee = Emp
data Department = Dept
translated to c++ this means sth like
typedef void
Karl Grapone [EMAIL PROTECTED] writes:
I've just started learning Haskell, and I must admit I'm finding it a
bit hard to get my head around the typing system...
Okay.
What I want to be able to do is add and remove fields while the system
is running,
While I'm sure you'll get some advanced
Hi,
I've just started learning Haskell, and I must admit I'm finding it a
bit hard to get my head around the typing system...
If I wanted to represent Employees and Departments in a Haskell
program I could use data declarations like so:
data Employee = Emp ...
data Department = Dept ...
This
On 9/20/05, Karl Grapone [EMAIL PROTECTED] wrote:
What I want to be able to do is add and remove fields while the system
is running, I suppose via hs-plugins, and I should be prevented from,
for example, accidentally taking an employees first name and using it
as a departments address.
I know