X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=blobdiff_plain;f=scheme.4th;h=23c7f2bafd72cd312f13596ca4f59091c979b77d;hb=b66fe905114c4da70620604f47e57b8d877ed72c;hp=fa53d670558d12cfc24fc8dfab2af92ffa9a224c;hpb=8772ce0cfd9d1140df94efcad344deb931101f42;p=scheme.forth.jl.git diff --git a/scheme.4th b/scheme.4th index fa53d67..23c7f2b 100644 --- a/scheme.4th +++ b/scheme.4th @@ -278,7 +278,8 @@ global-env setobj ; : add-prim ( args -- ) - nil objeq? if + 2dup nil objeq? if + 2drop 0 number-type else 2dup cdr recurse drop @@ -821,7 +822,7 @@ defer eval : true? ( boolobj -- bool ) false? invert ; -: applicaion? ( obj -- obj bool) +: application? ( obj -- obj bool) pair-type istype? ; : operator ( obj -- operator )