Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ansi-test
cl-bench
Commits
610ba9c9
Commit
610ba9c9
authored
May 17, 2016
by
Daniel Kochmański
Browse files
hash: replace defconstant with defparameter
SBCL doesn't like defconstant
parent
a798425c
Changes
1
Hide whitespace changes
Inline
Side-by-side
files/hash.lisp
View file @
610ba9c9
...
...
@@ -24,14 +24,11 @@
((
probe-file
"/usr/dict/words"
)
(
read-many-lines
"/usr/dict/words"
))))
(
defparameter
+digit+
"0123456789ABCDEF"
)
(
eval-when
(
:compile-toplevel
:load-toplevel
:execute
)
(
defconstant
+digit+
"0123456789ABCDEF"
)
(
defconstant
+digits-needed+
#(
(
10
100
1000
10000
100000
10000000
100000000
536870911
)
(
16
256
4096
65536
1048576
16777216
268435456
4294967296
536870911
))))
(
defparameter
+digits-needed+
#(
(
10
100
1000
10000
100000
10000000
100000000
536870911
)
(
16
256
4096
65536
1048576
16777216
268435456
4294967296
536870911
)))
(
defvar
*table*
nil
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment