From: Bjorn B. <bri...@cs...> - 2005-09-22 06:17:19
|
> Hi > > I tried the tutorial on the haskell wiki [1] and used dbInfoToModuleFil= es > to create the DB Layout. As described I named the Table 'MyTable' but i= n > the created file DBInfo.hs, the table was named 'myTable' (caused by a > call to 'checkLower' in DBSpecToDBDirect.hs). Obviously this did not wo= rk > with the Table that I created beforehand (with dbSpecToDatabase with th= e > original dbInfo as parameter). > > Is this behaviour on purpose? This would mean one could only use Table > names that begin with lower case letters. > > As checkLower is also applied to Field names in DBSpecToDBDirect.hs I > assume the same behaviour happens with Fields. > > [1] http://www.haskell.org/hawiki/HaskellDbTutorial Hmm, I can't see any reason why the first letter of the table and field names have to be lower case. Of course the Haskell identifiers for the tables and fields have to, but not the strings with the actual field names. I have removed these calls to checkLower in CVS for now, can anyone shed any light on why they were there in the first place? Chucky: maybe you remember? /Bj=F6rn |