
25 Jan
2013
25 Jan
'13
7:06 p.m.
People have put a lot of work into regular expression libraries on haskell. Yet it seems very few of them provide a replace/substitute function - just regex-compat and regepr as far as I know. Why is that ? #haskell says: <sclv> iirc its because that's a really mutatey operation in the underlying c libs <sclv> should be simple enough to write a general purpose wrapper layer that uses captures to create the effect Secondly, as of today what do y'all do when you need that functionality ? -Simon