summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEmiel van de Laar <gemiel@gmail.com>2021-03-22 17:44:45 +0100
committerEmiel van de Laar <gemiel@gmail.com>2021-03-22 17:44:45 +0100
commit4a5efbf2311b0ca1af33f4b95968a6302f0642eb (patch)
tree507922b2ff8ebc1be7dab83732ffb1262cdf60f3
parentc33652a41df21eb43c2b4b070b319fc426b913b7 (diff)
PureScript no longer emits the "Prim." prefix
-rw-r--r--purescript.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/purescript.html.markdown b/purescript.html.markdown
index 33761326..21f4d63a 100644
--- a/purescript.html.markdown
+++ b/purescript.html.markdown
@@ -40,7 +40,7 @@ import Prelude
3.0 % 2.0 -- 1.0
4.0 % 2.0 -- 0.0
-- Inspect the type of an expression in psci
-:t 9.5/2.5 + 4.4 -- Prim.Number
+:t 9.5/2.5 + 4.4 -- Number
-- Booleans
true :: Boolean -- true
@@ -76,7 +76,7 @@ world""" -- "Hello\nworld"
[1.2,2.0,3.14] :: Array Number -- [1.2,2.0,3.14]
[true, true, false] :: Array Boolean -- [true,true,false]
-- [1,2, true, "false"] won't work
--- `Cannot unify Prim.Int with Prim.Boolean`
+-- `Cannot unify Int with Boolean`
-- Cons (prepend)
1 : [2,4,3] -- [1,2,4,3]