-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.lisp
83 lines (74 loc) · 1.62 KB
/
package.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
;;;; package.lisp
(defpackage #:ros-utils
(:shadow :rationalize)
(:use :cl :iterate)
(:import-from :alexandria
:with-gensyms)
(:import-from :serapeum
:batches)
(:export
:printout->string
:broadcast-printout
:dbind
:mbind
:rationalize))
(defpackage #:ros-01
(:shadowing-import-from :ros-utils
:rationalize)
(:use :cl :iterate :cl-ppcre :computable-reals)
(:import-from :ros-utils
:printout->string
:broadcast-printout
:dbind
:mbind)
(:import-from :alexandria
:copy-array
:hash-table-keys
:hash-table-values
:if-let
:iota
:map-permutations
:random-elt
:set-equal
:when-let)
(:import-from :serapeum
:batches
:deq
:dict
:enq
:frequencies
:href
:maphash-new
:parse-float
:qappend
:queue
:queue-empty-p
:toggle-pretty-print-hash-table
:tokens
:words)
(:import-from :series
:choose-if
:scan-range
:collect-nth)
(:import-from :uiop
:split-string)
(:import-from :repl-utilities
:trace-package)
#+ecl(:import-from :ext
:long-float-positive-infinity))
(defpackage #:power-series
(:shadow "+" "-" "*" "/" "EXPT")
(:use :cl :series)
(:import-from :serapeum
:dict)
(:import-from :alexandria
:iota))
(in-package :ros-01)
(setq *suppress-series-warnings* t)
(toggle-pretty-print-hash-table t)
#+ecl(defconstant +infinity+
long-float-positive-infinity)
#-ecl(defconstant +infinity+
most-positive-long-float)
(in-package :power-series)
(setq *suppress-series-warnings* t)