~ubuntu-branches/ubuntu/wily/julia/wily

« back to all changes in this revision

Viewing changes to src/utils.scm

  • Committer: Package Import Robot
  • Author(s): Sébastien Villemot
  • Date: 2013-01-16 12:29:42 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130116122942-x86e42akjq31repw
Tags: 0.0.0+20130107.gitd9656f41-1
* New upstream snashot
* No longer try to rebuild helpdb.jl.
   + debian/rules: remove helpdb.jl from build-arch rule
   + debian/control: move back python-sphinx to Build-Depends-Indep
* debian/copyright: reflect upstream changes
* Add Build-Conflicts on libatlas3-base (makes linalg tests fail)
* debian/rules: replace obsolete USE_DEBIAN makeflag by a list of
  USE_SYSTEM_* flags
* debian/rules: on non-x86 systems, use libm instead of openlibm
* dpkg-buildflags.patch: remove patch, applied upstream
* Refreshed other patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
           (any (lambda (x) (contains p x))
37
37
                expr))))
38
38
 
 
39
(define (butlast lst)
 
40
  (if (or (null? lst) (null? (cdr lst)))
 
41
      '()
 
42
      (cons (car lst) (butlast (cdr lst)))))
 
43
 
 
44
(define (last lst)
 
45
  (if (null? (cdr lst))
 
46
      (car lst)
 
47
      (last (cdr lst))))
 
48
 
39
49
(define *gensyms* '())
40
50
(define *current-gensyms* '())
41
51
(define *gensy-counter* 1)