Files
Nim/doc
Emre Şafak bb93b39b58 docs: Add example to tutorial for interfaces using closures (#25068)
* Add a new section to doc/tut2.md explaining interfaces.
* Provide a code example demonstrating how to simulate interfaces using
objects of closures.
* The example shows a basic IntFieldInterface with getter and setter
procedures.

This PR was inspired by the discussion in
https://forum.nim-lang.org/t/13217

---------

Co-authored-by: Emre Şafak <esafak@users.noreply.github.com>
Co-authored-by: Andreas Rumpf <araq4k@proton.me>
2025-07-23 23:49:31 +02:00
..
2024-12-27 19:42:18 +01:00
2023-09-27 05:49:17 +02:00
2024-01-12 20:50:20 +08:00
2023-10-25 20:53:15 +08:00
2022-06-04 07:03:03 +02:00
2025-06-06 15:08:47 +02:00
2023-02-07 16:15:44 +08:00
2023-03-03 23:37:12 +01:00
2023-07-02 22:36:05 +02:00
2023-07-02 22:36:05 +02:00
2024-10-13 07:00:23 +02:00

============================
Nim's documentation system
============================

This folder contains Nim's documentation. The documentation
is written in a format called *Markdown*, a markup language that reads
like ASCII and can be converted to HTML automatically!