[Haskell-cafe] Country names and language names
Henk-Jan van Tuyl
hjgtuyl at chello.nl
Wed Mar 6 23:26:01 CET 2013
On Wed, 06 Mar 2013 20:53:57 +0100, Obscaenvs <obscaenvs at gmail.com> wrote:
> Thanks for the input -- both items.
> f
>> Do not forget that country names can change; e.g. the Netherlands
>> Antilles were split up in 2010. This might cause problems if you store
>> country codes in a database. If you simply remove obsolete country
>> codes, the database can not be used properly any more.
P.S. If you want people to be able to enter there country of birth, you
should include all countries that existed in the past 116 years; if
historians should be able to use it, you should include all countries that
ever existed.
When you include obsolete names, there should be some way to create a list
of current countries, e.g. for selection of the country, where someone
lives, from a menu. Something like this:
map isCurrentlyExisting listOfAllCountriesThatEverExisted
Or you create a list of current countries and a list of obsolete countries.
Regards,
Henk-Jan van Tuyl
--
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--
More information about the Haskell-Cafe
mailing list