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

Gaius Hammond Gaius at Gaius.org.UK
Fri Dec 11 04:42:20 EST 2009


You can buy this data from companies like Reuters. They collate it by having someone phone every embassy every year.


Cheers,



G



------Original Message------
From: Deniz Dogan
Sender: beginners-bounces at haskell.org
To: Hong Yang
Cc: beginners at haskell.org
Subject: Re: [Haskell-beginners] Is there a function to determine if a date isa business day?
Sent: 11 Dec 2009 09:35

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
_______________________________________________
Beginners mailing list
Beginners at haskell.org
http://www.haskell.org/mailman/listinfo/beginners


------------------


More information about the Beginners mailing list