Name:
Anonymous
2010-11-26 10:52
And how does lisk helps with
someFunction conn (Foo n) (K {x=zot}) plib = do
withTransaction conn $ \db ->
coconut <- queryTheDB "select * from sausages where sizzle = ?"
[Foob n]
potato <- queryTheDB "select * from sausages where sizzle = ?"
[Foob n]
let sizzle = zot (plib $ zip [1..] coconut) ++ potato ++ gravy
record = fasterize (MakeRecord { recName = sizzle "name"
, recAge = sizzle "age"
, recDate = date
})
$ Plib </> (fromMaybe "" $ sausages >>= bacon)
date = error "Unable to parse date" `fromMaybe`
parseDate sizzle "date"
catch (\e -> do something `with` (k $ the exception)) $ do
insertIntoDB sizzle plib
? Let me guess - it doesn't. It's still unreadable garbage.
That's why author didn't post liskified version of code above.