From 8d468ca2abf07eac9092b08390856f761dd701cd Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 3 Dec 2014 14:20:18 +0100 Subject: Mark random and random_between as safe goals Required for exercise 25 (genlist). --- prolog/lib.pl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'prolog') diff --git a/prolog/lib.pl b/prolog/lib.pl index 232dc70..99dadf1 100644 --- a/prolog/lib.pl +++ b/prolog/lib.pl @@ -316,6 +316,8 @@ safe_primitive(http_session:http_session_data(_)). safe_primitive(http_session:http_session_id(_)). % random safe_primitive(random:random(_)). +safe_primitive(random:random(_,_,_)). +safe_primitive(random:random_between(_,_,_)). % porter safe_primitive(porter_stem:porter_stem(_,_)). safe_primitive(porter_stem:unaccent_atom(_,_)). -- cgit v1.2.1