Data structures with labeled fields

From: Bernd Brassel <>
Date: Wed, 01 Mar 2006 14:31:16 +0100

Hello altogether,

introducing labeld fields into Curry seems to be a bigger topic than I
would have expected. The given papers, especially Daan Leijen's, show
that one could have a much more general approach without extending the
language in any other way (no need to introduce type classes for
example). On the other hand it is not entirely clear to me why the
Haskell98 approach effectively hindered the development of better solutions.

However, judging from the recent discussion I would propose that we
should not officially introduce record-like structures to Curry until we
have got some experience with the alternatives. We will therefore
implement a (not necessarily strict) subset of Leijen's proposal into
PAKCS and you can then all see how well it works in practice. After some
evaluation we could then again discuss what to take into the Curry report.

What do you think about that?


curry mailing list
Received on Mi Mär 01 2006 - 16:41:46 CET

This archive was generated by hypermail 2.3.0 : Do Mai 23 2024 - 07:15:07 CEST