From d633dec21a6dda0c3fae88a81d48059ad27e15c0 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sat, 2 Sep 2017 02:51:57 +0000 Subject: net: Update (net ricketyspace sicp one twentyeight) net/ricketyspace/sicp/one/twentyeight.scm: Add comments. --- net/ricketyspace/sicp/one/twentyeight.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'net') diff --git a/net/ricketyspace/sicp/one/twentyeight.scm b/net/ricketyspace/sicp/one/twentyeight.scm index ffc1e21..fcd6350 100644 --- a/net/ricketyspace/sicp/one/twentyeight.scm +++ b/net/ricketyspace/sicp/one/twentyeight.scm @@ -59,4 +59,9 @@ and x != m - 1 and x != 1; 0 otherwise." prime-numbers-pass? even-numbers-pass?))) +;;; Guile REPL +;;; +;;; scheme@(guile-user)> ,re (net ricketyspace sicp one twentyeight) +;;; scheme@(guile-user)> (run-tests) +;;; $18 = (("carmichael-numbers-pass?" . #t) ("prime-numbers-pass?" . #t) ("prime-numbers-pass?" . #t)) -- cgit v1.2.3