From c9f1f039c8bc6c701cf4e3640dcbdf290f9c8dcf Mon Sep 17 00:00:00 2001 From: Nikola Jichev Date: Wed, 28 Mar 2018 13:24:21 +0300 Subject: [PATCH] Fix function typos (#7507) --- lib/elixir/lib/function.ex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/elixir/lib/function.ex b/lib/elixir/lib/function.ex index 6b034b0c3a..a7dadbe584 100644 --- a/lib/elixir/lib/function.ex +++ b/lib/elixir/lib/function.ex @@ -1,8 +1,8 @@ defmodule Function do @moduledoc """ - A set of funtions for working with functions. + A set of functions for working with functions. - We can have two types of captures functions: external and local. + We can have two types of captured functions: external and local. External functions are functions residing in modules that are captured with `&/1`, such as `&String.length/1`. Local are the anonymous functions defined with `fn/1` or with the capture operator `&/1` using `&1`, `&2` @@ -55,7 +55,7 @@ defmodule Function do When it is an anonymous function it will also return info about: * `:pid` - process identifier of the process that originally created - the funciton + the function * `:index` - an integer - is an index into the module function table. * `:new_index` - an integer - is an index into the module function table. * `:new_uniq` - a binary - it's a unique value for this function. It is