[Haskell-cafe] Can I have an alias for selector?
Magicloud Magiclouds
magicloud.magiclouds at gmail.com
Fri Nov 18 08:16:40 CET 2011
Hi,
For example: "data A = B { c :: Int }". Then I must use it this way
"(B 0) { c = 1 }". Anyway I could make it like "(B 0) { d = 1 }"?
--
竹密岂妨流水过
山高哪阻野云飞
More information about the Haskell-Cafe
mailing list