From bc27a5c7b1bd4138076c3c1e7c19dc69cc097443 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 10 May 2020 20:04:46 +0530 Subject: fix erronous macro examples --- docs/index.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'docs/index.xml') diff --git a/docs/index.xml b/docs/index.xml index dce3d00..07120bc 100644 --- a/docs/index.xml +++ b/docs/index.xml @@ -60,9 +60,11 @@ h(x)(y)(z) = g(y)(z) = k(z) = v

Procedural Macros

These are functions that take code as input and spit out modified code as output. Powerful stuff. Rust has three kinds of proc-macros:

We will be using Attribute macros to convert a Rust function into a curried Rust function, which we should be able to call via: function(arg1)(arg2).

Definitions

-- cgit v1.2.3