Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



#elixir

The Elixir shell defines the h function, which you can use to access documentation for any function. For example, typing h trunc/1 is going to print the documentation for the trunc/1 function:

 iex > h trunc / 1 def trunc () Returns the integer part of number . 

If you want to change selection, open document below and click on "Move attachment"

Basic types - The Elixir programming language
s named trunc and takes 1 argument, whereas trunc/2 identifies a different (nonexistent) function with the same name but with an arity of 2. We can also use this syntax to access documentation. <span>The Elixir shell defines the h function, which you can use to access documentation for any function. For example, typing h trunc/1 is going to print the documentation for the trunc/1 function: iex> h trunc/1 def trunc() Returns the integer part of number. h trunc/1 works because it is defined in the Kernel module. All functions in the Kernel module are automatically imported into our namespace. Most often you will also include the module


Summary

statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

Details



Discussion

Do you want to join discussion? Click here to log in or create user.