debug module

This commit is contained in:
Stephen Diehl
2016-12-08 13:12:42 +00:00
parent e041d6de8a
commit c28fa6b00c
14 changed files with 61 additions and 12 deletions
+38
View File
@@ -0,0 +1,38 @@
Debug
=====
```haskell
undefined :: a
```
```haskell
notImplemented :: a
```
```haskell
trace :: Print b => b -> a -> a
```
```haskell
traceM :: (Monad m) => Text -> m ()
```
```haskell
traceId :: Text -> Text
```
```haskell
traceShowM :: (P.Show a, Monad m) => a -> m ()
```
```haskell
traceShowId :: P.Show a => a -> a
```
```haskell
traceShow :: P.Show a => a -> b -> b
```
```haskell
traceIO :: Print b => b -> a -> IO a
```