Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
new-op
new-op
Commits
ed9daeb4
Commit
ed9daeb4
authored
Jan 18, 2011
by
Marco Antoniotti
💬
Browse files
Fixed a few font colors.
parent
f067ae0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/html/intro.html
View file @
ed9daeb4
...
...
@@ -63,16 +63,18 @@ interesting when you try things like the following:</p>
<pre>
cl-prompt
>
<b>
(
<span
style=
"color: red"
>
newq
</span>
<span
style=
"color
=
blue"
>
(array single-float (2 2))
</span>
'((1.0 0.0) (0.0 1.0)))
</b>
style=
"color
:
blue"
>
(array single-float (2 2))
</span>
'((1.0 0.0) (0.0 1.0)))
</b>
<i>
#2A((1.0 0.0) (0.0 1.0))
</i>
cl-prompt
>
<b>
(type-of *)
</b>
<i>
(SIMPLE-ARRAY SINGLE-FLOAT (2 2))
</i>
cl-prompt
>
<b>
(newq (array double-float) '((1.0 0.0) (0.0 1.0))
</b>
cl-prompt
>
<b>
(
<span
style=
"color: red"
>
newq
</span>
<span
style=
"color: blue"
>
(array double-float)
</span>
'((1.0 0.0) (0.0 1.0))
</b>
<i>
Error: Attempt to set double-float array element to 1.0 of type SINGLE-FLOAT.
</i>
cl-prompt>
<b>
(new '(mod 42) (read))
</b>
cl-prompt>
<b>
(
<span
style=
"color: red"
>
new
</span>
'
<span
style=
"color: blue"
>
(mod 42)
</span>
(read))
</b>
1024
<i>
Error: 1024 is not of type (INTEGER 0 (42)).
</i>
...
...
@@ -152,7 +154,7 @@ provided.
cl-prompt
>
<b>
(defstruct foo a s d)
</b>
<i>
FOO
</i>
cl-prompt
>
<b>
(register-structure-constructor 'foo #'make-foo)
</b>
cl-prompt
>
<b>
(
<span
style=
"color: red"
>
register-structure-constructor
</span>
'foo #'make-foo)
</b>
<i>
#
<
Function MAKE-FOO ...
>
</i>
cl-prompt
>
<b>
(new 'foo :s 42)
</b>
...
...
@@ -229,7 +231,7 @@ library code the scariest extra disclaimer you can think of.
-->
<div
class=
"copyright"
>
<!-- hhmts start -->
Last modified:
Sat
Jan
8 1
0:17:25 ES
T 2011
<!-- hhmts end -->
<br>
<!-- hhmts start -->
Last modified:
Tue
Jan
1
8 1
2:52:11 CE
T 2011
<!-- hhmts end -->
<br>
©
2010-2011, Marco Antoniotti, all rights reserved.
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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