[Haskell-beginners] Is there a function to determine if a date is a business day?

Deniz Dogan deniz.a.m.dogan at gmail.com
Fri Dec 11 04:35:14 EST 2009


2009/12/11 Hong Yang <hyangfji at gmail.com>:
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>

I don't know, but wouldn't it be nice if there was some package
dealing with "cultures"? Something along the lines of:

data Culture = Culture { country :: Country,
                         language :: Language,
                         isHoliday :: (Day -> Bool),
                         firstDayOfWeek :: Day,
                         ...
                       }

-- 
Deniz Dogan


More information about the Beginners mailing list