Skip to content

Commit bb825ca

Browse files
committed
Merge branch 'master' of github.com:clojure/clojure-site
2 parents 001c1c0 + 0be802c commit bb825ca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/guides/weird_characters.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ user=> (macroexpand `#(println %4))
252252
You don't have to use the arguments, but you do need to declare them in the order
253253
you'd expect an external caller to pass them in.
254254

255-
`%` and `%1` can be used interchangably:
255+
`%` and `%1` can be used interchangeably:
256256
[source,clojure]
257257
----
258258
user=> (macroexpand `#(println % %1)) ; use both % and %1
@@ -322,7 +322,7 @@ user=> (meta #'five)
322322
{:ns #<Namespace user>, :name five, :column 1, :debug true, :line 1, :file "NO_SOURCE_PATH"}
323323
----
324324
Another use of `^` is for type hints. These are used to tell the compiler what
325-
type the value will be and allow it to perform type specific optimiztions
325+
type the value will be and allow it to perform type specific optimizations
326326
thus potentially making resultant code faster:
327327
[source,clojure]
328328
----
@@ -475,15 +475,15 @@ For example, the following map literal with namespace syntax:
475475
----
476476
#:person{:first "Han"
477477
:last "Solo"
478-
:ship #:ship{:name "Millenium Falcon"
478+
:ship #:ship{:name "Millennium Falcon"
479479
:model "YT-1300f light freighter"}}
480480
----
481481
is read as:
482482
[source,clojure]
483483
----
484484
{:person/first "Han"
485485
:person/last "Solo"
486-
:person/ship {:ship/name "Millenium Falcon"
486+
:person/ship {:ship/name "Millennium Falcon"
487487
:ship/model "YT-1300f light freighter"}}
488488
----
489489

0 commit comments

Comments
 (0)