From dae3907c5fb11030a1aba7f2d23c8ee3f7dd2389 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sun, 10 May 2020 16:55:38 +0200 Subject: [PATCH] docs: clean up toc --- doc/docs.md | 40 +++++++++++++++++++++++++++------------- 1 file changed, 27 insertions(+), 13 deletions(-) diff --git a/doc/docs.md b/doc/docs.md index 2245b10755..a8e1cdaf99 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -15,58 +15,72 @@ Despite being simple, V gives the developer a lot of power. Anything you can do you can do in V. ## Table of Contents - +
    - - - - - - - + + + + + + + + + + + + + + + - + + + - + + + - - + + + +
    Hello worldCommentsFunctionsConstants & variablesPrimitive typesStringsImports1. Hello world2. Comments3. Functions4. Variables5. Primitive types6. Strings
    7. Imports Arrays Maps If In Operator For loop
    Match Structs Access modifiers Methods Pure functions by default Anonymous & high order functions
    References Constants println Modules Interfaces Enums
    Sum typesOption/Result types and error handtdngOption/Result & error handling Generics Concurrency Decoding JSON Testing
    Memory managment Defer ORM vfmt Writing documentationCaltdng C functions from VCalling C functions from V
    Conditional compilation Reflection via codegentdmited operator overloadingIntdne assemblyLimited operator overloadingInline assembly Translating C/C++ to V Hot code reloading
    Cross compilation Cross-platform shell scripts in V Appendix I: Keywords Appendix II: Operators
    - +
## Hello World