Skip to content

Commit dddae94

Browse files
authored
Merge pull request #18 from purescript/bump
Prepare for 2.0 release
2 parents b993e03 + fb7645f commit dddae94

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

src/Control/Monad/Eff/Exception.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
/* global exports */
21
"use strict";
32

4-
// module Control.Monad.Eff.Exception
5-
63
exports.showErrorImpl = function (err) {
74
return err.stack || err.toString();
85
};

src/Control/Monad/Eff/Exception.purs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ module Control.Monad.Eff.Exception
1313
, try
1414
) where
1515

16+
import Prelude
17+
1618
import Control.Monad.Eff (Eff)
17-
import Control.Semigroupoid ((<<<))
18-
import Data.Either (Either(Right, Left))
19+
20+
import Data.Either (Either(..))
1921
import Data.Maybe (Maybe(..))
20-
import Data.Show (class Show)
21-
import Prelude ((<$>), pure)
2222

2323
-- | This effect is used to annotate code which possibly throws exceptions
2424
foreign import data EXCEPTION :: !
@@ -70,7 +70,7 @@ foreign import throwException
7070
-- |
7171
-- | ```purescript
7272
-- | main = catchException print do
73-
-- | trace "Exceptions thrown in this block will be logged to the console"
73+
-- | Console.log "Exceptions thrown in this block will be logged to the console"
7474
-- | ```
7575
foreign import catchException
7676
:: forall a eff

0 commit comments

Comments
 (0)