git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Fix random function in Prelude
commit9010d9839a388ca0217a322efd2be0e844f90613 authorPhil Freeman <paf31@cantab.net> dateWed 5 Feb 2014, 10:01 (13 years ago) parent6019f26
1 file changed+1−3
libraries/prelude/prelude.purs+1−3
libraries/prelude/prelude.purs+1−3
@@ -790,9 +790,7 @@ module Random where
790790 foreign import data Random :: !
791791
792792 foreign import random "function random() {\
793− \ return function() {\
794− \ return Math.random();\
795− \ };\
793+ \ return Math.random();\
796794 \}" :: forall e. Eff (random :: Random | e) Number
797795
798796module Errors where