Re: Unicode's greek lambda
Hi, On Thu, Nov 20, 2008 at 18:56, Colin Adams <[EMAIL PROTECTED]> wrote: >> Another problem is font support.. none of the fonts on my >> system (and I have quite a lot) have these codepoints defined. > > David> That seems surprising. Some of the more exotic math characters added at > Unicode 3.2,4,5 are only just now getting into fonts (such as STIX and > Cambria math) but (almost) any truetype or type1 font built in the last > 10 years or so should have the basic latin-greek-cyrillic font set, at > least. To clarify - most of modern fonts do in deed have latin-greek-cyrillic (including the U+03BB lambda), but I was referring to the specific math symbols such as the U+1D6CC bold lam(b)da, which reside in the Supplementary Multilingual Plane (SMP). Those are indeed not present in my fonts, including Lucida Math and Adobe Mathematical Pi). cheers, Arnar ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: Unicode's greek lambda
On Thu, Nov 20, 2008 at 12:23, Duncan Coutts <[EMAIL PROTECTED]> wrote: > On Thu, 2008-11-20 at 09:50 +, Jan Jakubuv wrote: >> Some others are (I have no idea why they are referenced as "lamda" >> instead of "lambda"): > > Yeah, that's why I missed them. I was searching for what I thought was > the correct spelling. Same here. Another problem is font support.. none of the fonts on my system (and I have quite a lot) have these codepoints defined. One would have to open them in a font editor and copy the greek lambda. cheers, Arnar ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: No atomic read on MVar?
On Mon, Nov 3, 2008 at 23:51, David Menendez <[EMAIL PROTECTED]> wrote: > On Mon, Nov 3, 2008 at 6:29 AM, Philip K.F. Hölzenspies > <[EMAIL PROTECTED]> wrote: >> >> I have now implemented my variable as a pair of MVars, one of which serves as >> a lock on the other. Both for performance reasons and for deadlock analysis, >> I would really like an atomic read on MVars, though. Does it exist? If not, >> why not? > > Have you considered using STM? All the operations on TMVars are atomic. I will second this. At the very least, if you only need atomic read/write operations you can use TMVars and make aliases that compose with atomically: takeMVar = atomically . takeTMVar putMVar = atomically . putTMVar etc. cheers, Arnar ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users