Comments (3)
Thank you very much for reporting. I really wonder how this mistake has happened -- unfortunately now other reader has seen that before. In case I should ever touch the book content again, I will surely fix that.
from nimprogrammingbook.
Well, we used a list of Nim keywords to make it easier to highlight them in the asciidoc source text:
// we can use all of Nim's keywords just as {while} instead of [.key]#while# now!
:addr: pass:q[[.key]#addr#]
:and: pass:q[[.key]#and#]
:as: pass:q[[.key]#as#]
:asm: pass:q[[.key]#asm#]
:bind: pass:q[[.key]#bind#]
:block: pass:q[[.key]#block#]
:blocks: pass:q[[.key]#blocks#]
:break: pass:q[[.key]#break#]
:case: pass:q[[.key]#case#]
:cast: pass:q[[.key]#cast#]
:concept: pass:q[[.key]#concept#]
:concepts: pass:q[[.key]#concepts#]
:const: pass:q[[.key]#const#]
:continue: pass:q[[.key]#continue#]
:converter: pass:q[[.key]#converter#]
:converters: pass:q[[.key]#converters#]
:defer: pass:q[[.defer]#concepts#]
:discard: pass:q[[.key]#discard#]
:distinct: pass:q[[.key]#distinct#]
:div: pass:q[[.key]#div#]
That list format is not too nice, as the keyword repetition can easily introduce errors. Luckily, we now have AI tools like GPT-4, which can help us without detailed instructions:
Please check the following list for errors:
The list looks mostly correct, but there is a minor error. The entry for :defer: is different from the others and appears to have a typo. It is listed as :defer: pass:q[[.defer]#concepts#] instead of the expected format pass:q[[.key]#defer#].
from nimprogrammingbook.
Fixed.
from nimprogrammingbook.
Related Issues (17)
- Typo HOT 1
- License? HOT 13
- maybe an effecient way to broadcast message in the chat server application HOT 4
- executable examples HOT 5
- Permission to translate the book HOT 3
- Some thoughts about async HOT 3
- Broken URL HOT 2
- Wrong word HOT 5
- [FR] Dark theme option HOT 4
- The tail insert of linked object HOT 1
- Debug code left in regex example HOT 2
- Needs introduction to analysis of algorithms HOT 1
- Minor update to the book for nims 2.0 release as of today (01.08.2023) HOT 8
- Re: Permission to use the book in YouTube video series. HOT 3
- Result of some code is not expected as point in the book HOT 5
- Expand section on templates HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nimprogrammingbook.