From 0d34acd25f240bc2596755834581d33fee5e9f5a Mon Sep 17 00:00:00 2001 From: Sibi Prabakaran Date: Sun, 27 Mar 2016 17:54:48 +0530 Subject: [PATCH] Fix code import --- cookbook/Handling-Persistence-Exception.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cookbook/Handling-Persistence-Exception.md b/cookbook/Handling-Persistence-Exception.md index 9708822..71391d1 100644 --- a/cookbook/Handling-Persistence-Exception.md +++ b/cookbook/Handling-Persistence-Exception.md @@ -38,8 +38,10 @@ persistent-try-bugs: SQLite3 returned ErrorConstraint while attempting to perfor You can use the [exceptions](https://hackage.haskell.org/package/exceptions) package to handle exceptions. Have the appropriate imports: ->>> import Control.Exception (SomeException) ->>> import Control.Monad.Catch +``` +import Control.Exception (SomeException) +import Control.Monad.Catch +``` And the rest of the code is like this: