Hi,<br><br>I have problems with the usage of the DBSpec module. The following used to work a year ago:<br><br>testDB :: DBInfo<br>testDB = makeDBSpec "testDB" (DBOptions False) [t1]<br><br>t1 :: TInfo <br>t1 = makeTInfo "t1" [c1,c2]<br>
<br>c1 :: CInfo<br>c1 = makeCInfo "c1" (IntT,False)<br>c2 :: CInfo<br>c2 = makeCInfo "c2" (StringT,False)<br><br>Now the problem is type error in (DBOptions False):<br><br>Couldn't match expected type `DBOptions'<br>
against inferred type `Database.HaskellDB.DBSpec.<div>PPHelpers.MakeIdentifiers<br><br>So my precise problem is the usage of that "MakeIdentifiers":<br><br>MakeIdentifiers <br>
moduleName :: String -> String <br>
identifier :: String -> String <br> toType :: String -> String<br><br>Could
someone please demonstrate how to use MakeIdentifiers reasonably e.g.
for the above testDB? And more general: I cannot find uptodate
documentation on haskelldb. Is there something around?<br>
<br>Thanks<br>Immanuel<br></div>