From 4a5efbf2311b0ca1af33f4b95968a6302f0642eb Mon Sep 17 00:00:00 2001 From: Emiel van de Laar Date: Mon, 22 Mar 2021 17:44:45 +0100 Subject: PureScript no longer emits the "Prim." prefix --- purescript.html.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'purescript.html.markdown') 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] -- cgit v1.2.3