diff options
author | Emiel van de Laar <gemiel@gmail.com> | 2021-03-22 17:36:30 +0100 |
---|---|---|
committer | Emiel van de Laar <gemiel@gmail.com> | 2021-03-22 17:36:30 +0100 |
commit | c33652a41df21eb43c2b4b070b319fc426b913b7 (patch) | |
tree | 3a6a056e5fa181af07b073c74f368b8fee3962dd /purescript.html.markdown | |
parent | 86e220bd907b4d4c8a16da341f3882149561893c (diff) |
Replace PSCi multi-line mode with paste mode
* Multi-line mode has been replaced with past mode
Diffstat (limited to 'purescript.html.markdown')
-rw-r--r-- | purescript.html.markdown | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/purescript.html.markdown b/purescript.html.markdown index a1ee8587..33761326 100644 --- a/purescript.html.markdown +++ b/purescript.html.markdown @@ -12,8 +12,9 @@ PureScript is a small strongly, statically typed language compiling to JavaScrip * Documentation: [https://pursuit.purescript.org/](https://pursuit.purescript.org/) * Book: Purescript by Example, [https://book.purescript.org/](https://book.purescript.org/) -All the noncommented lines of code can be run in the PSCI REPL, though some will -require the `--multi-line-mode` flag. +All the noncommented lines of code can be run in the PSCi REPL, though some +will require "paste" mode (`:paste` followed by multiple lines, terminated by +^D). ```haskell @@ -59,7 +60,7 @@ true && (9 >= 19 || 1 < 2) -- true -- Strings "Hellow" :: String -- "Hellow" --- Multiline string without newlines, to run in psci use the --multi-line-mode flag +-- Multiline string without newlines, to run in PSCi use "paste" mode. "Hellow\ \orld" -- "Helloworld" -- Multiline string with newlines |