Talk:Pairs of identifiers
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
read
and show
I think the names read
and show
in the Prelude of Haskell98 aren't a good choice
because the functions can be considered as natural pair
but this isn't reflected by their names.
Even more read
and show
sound like some I/O operations which they are not.
The choice for the Modula-3 libraries (Lex
and Fmt
) seems to be more suitable.
trees
I had a nice discussion the other day with someone about the right name for tree nodes and leaves. The constructors I'm using as a result are Branch
and Leaf
. Anyone feel differently?
-- Bart Massey
Del
I think del
is more natural pair for add
.