guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Define in let


From: Panicz Maciej Godek
Subject: Re: Define in let
Date: Wed, 21 Aug 2013 08:55:20 +0200

Sorry, the macro definition relies on a few additional functions,
in particular on the (ice-9 match) and (srfi srfi-1) modules and 
the following definitions:

(define (split-before criterion list)
  (split-at list (or (list-index criterion list)
                     (length list))))

(define (equals? x) (lambda(y)(equal? x y)))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]