Two clarifications:
On Saturday 19 February 2005 22:33, Benjamin Franksen wrote:
> instance RecordField R Label_field1 T1 where
> getField (Rec x _) _ = x
> putField (Rec _ y) _ v = Rec v x
s/Rec/R/
> I wonder if something similar could be done with TH. The labels would nee
I think that the best solution is to define record labels as types, or rather
type proxies, like for instance in the HList library. This fixes the most
important deficiencies of Haskell98 records:
- labels are now first class values
- labels no longer need to be globally unique, but only unique
Hello.
Sakai Masahiro made a patch for GHC Text.Regex.
Because Text.Regex doesn't support Non-ASII Charset well.
He uses Onigurma what Regex C Library support Non-ASCII Charset well
and GNU Regex Library replacement (this is usesd under Ruby version
higher 1.9.X), replace for cur
On 19/02/2005, at 5:20 AM, Keean Schupke wrote:
Yes, your idea is much nicer... I was just suggesting TH as a way to
implement custom syntax... It would be nice if come sort of standard
existed for template-haskell so that other compilers/interpreters
could adopt it. A portable template would b