Safe Haskell | None |
---|---|
Language | Haskell98 |
JSON string association database. JSON objects do no allow multiple keys. Here multiple keys are read & written as arrays.
- db_load_utf8 :: FilePath -> IO DB'
- db_store_utf8 :: FilePath -> DB' -> IO ()
- data Maybe_List_Of_String
- maybe_list_to_list :: Maybe_List_Of_String -> [String]
- list_to_maybe_list :: [String] -> Maybe_List_Of_String
Documentation
db_store_utf8 :: FilePath -> DB' -> IO () Source #
Store DB
to FilePath
.
let fn = "/home/rohan/ut/www-spr/data/db.js" db <- db_load_utf8 fn length db == 1334 db_store_utf8 "/tmp/sp.js" db
Maybe List of String
data Maybe_List_Of_String Source #