Monday, August 29, 2011

Sunday, August 28, 2011

Haskell File name matching

In chapter 8 of Real World Haskell.

{-

File name matching

Many systems-oriented programming languages provide library routines that let us match a file name against a pattern, or that will give a list of files that match the pattern. In other languages, this function is often named fnmatch.) Although Haskell's standard library generally has good systems programming facilities, it doesn't provide these kinds of pattern matching functions. We'll take this as an opportunity to develop our own.

-}


 Really?  I will check the current standard library.

Wednesday, August 24, 2011

Tornado 'red alert' issued

Severe thunderstorm is coming. Hope everything will be fine.

Actually my computer was shutdown by the lighting.

Tuesday, August 23, 2011

Struggle with Haskell

I read Parallel and Concurrent Haskell by Simon Marlow.

I am still struggle with Haskell.  I will review Learn You a Haskell for Great Good! again.

The pure functional language is really beautiful but it may not fit our dirty world.



My first day in blogger

昨天:

Jack Layton was dead yesterday ( Aug. 22).  尽管人们不一定同意他的政治主张,但他的个人魅力的确
在加拿大当前政坛少有。  不过从 NDP 的崛起,反映了贫富及各方面的分化加剧。

Anyway,  Jack 一路走好。


今天下午发生了地震。 震源在 Virginia, 5.8 级。   当时在办公室 感到一阵晃动。
大家都纷纷走出办公室。  外边清风习习,凉爽宜人。 生活是美好的,珍惜每一天吧。