basic examples

This commit is contained in:
Stephen Diehl
2016-12-29 19:46:57 +00:00
parent 33e412b59b
commit 254dafcb12
3 changed files with 46 additions and 1 deletions
+6
View File
@@ -118,3 +118,9 @@ data FatalError = FatalError {msg :: Text}
```haskell
panic :: Text -> a
```
Terminate with an uncatchable fatal error.
```haskell
> panic "Fatal error occured.
```