Alexandr Kurilin, Reference Haskell libs for developing great style
Been somewhat busy digging into Haskell recently for our analytics-heavy upcoming web app and couldn’t get a good idea of what quality Haskell code should look like. Sure, there’s LYAH and RWH, and Beginning Haskell, but I like to see live code form authors who are universally considered reputable and well understandable by beginners such as myself. The following libs were recommended for perusal by the fine and generous folks at #haskell-beginners:.
Alexandr Kurilin, Upgrading Yesod 1.2 -> 1.4
This post should be useful if you’re in a similar situation and your app is backed by PostgreSQL, even though it should work just about the same for any other SQL backend.The transition was actually pretty simple, you have to take care of the following steps:. Once yoru cabal is wired against Stackage, remove version constraints from all of the packages in your. Replace this import Database.Persist.Sql (SqlPersistT) - with this import Database.Persist.Sql (SqlBackend). SQL type is gone in Persistent 2...