Tutorial by Topics: s

funcname = function(paramA, paramB, ...) body; return exprlist end -- a simple function function funcname(paramA, paramB, ...) body; return exprlist end -- shorthand for above local funcname = function(paramA, paramB, ...) body; return exprlist end -- a lambda local funcname; funcname = functio...
Help text can be located before or after the function line, as long as there is not code between the function line and the start of the help text. Capitalization of the function name only bolds the name, and is not required. If a line is prepended with See also, any names on the line that mat...
The Purpose of Macros Macros are intended for generating code, transforming code and providing new notations. These new notations can be more suited to better express the program, for example by providing domain-level constructs or entire new embedded languages. Macros can make source code mor...
(function name) ; retrieves the function object of that name #'name ; syntactic sugar for (function name) (symbol-function symbol) ; returns the function bound to symbol (funcall function args...) ; call function with args (apply function arglist) ; call function with arguments given in a list...
ParameterDetailsos.F_OKValue to pass as the mode parameter of access() to test the existence of path.os.R_OKValue to include in the mode parameter of access() to test the readability of path.os.W_OKValue to include in the mode parameter of access() to test the writability of path.os.X_OKValue to in...
A channel contains values of a given type. Values can be written to a channel and read from it, and they circulate inside the channel in first-in-first-out order. There is a distinction between buffered channels, which can contain several messages, and unbuffered channels, which cannot. Channels are...
Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a Compose file to configure your application’s services. Then, using a single command, you create and start all the services from your configuration. To learn more about all the features of Compos...
[] // an empty list. head::tail // a construction cell holding an element, head, and a list, tail. :: is called the Cons operator. let list1 = [ 1; 2; 3 ] // Note the usage of a semicolon. let list2 = 0 :: list1 // result is [ 0; 1; 2; 3 ] let list3 = list1 @ list2 // result is [ 1; 2; 3; 0...
# Only replace email addresses <[email protected]> <[email protected]> # Replace name by email address Contributor <[email protected]> # Merge multiple aliases under one name and email # Note this will not associate 'Other <[email protected]>'. Contributor <pr...
Props, or properties, are data that is passed to child components in a React application. React components render UI elements based on their props and their internal state. The props that a component takes (and uses) defines how it can be controlled from the outside.

SQL

For a list of SQL database drivers see the official Go wiki article SQLDrivers. The SQL drivers are imported and prefixed by _, so that they are only available to driver.
These language extensions are typically available when using the Glasgow Haskell Compiler (GHC) as they are not part of the approved Haskell 2010 language Report. To use these extensions, one must either inform the compiler using a flag or place a LANGUAGE programa before the module keyword in a ...
International Standard ISO/IEC 9899:201x Programming languages — C Accessing a volatile object, modifying an object, modifying a file, or calling a function that does any of those operations are all side effects, which are changes in the state of the execution environment. The presence o...
Using version control software like Git may be a little scary at first, but its intuitive design specializing with branching helps make a number of different types of workflows possible. Pick one that is right for your own development team.
From Microsoft Technet: With batch files, which are also called batch programs or scripts, you can simplify routine or repetitive tasks. A batch file is an unformatted text file that contains one or more commands and has a .bat or .cmd file name extension. When you type the filename at the comm...
[] [1, 2, 3, 4] [1, 2] ++ [3, 4] # -> [1,2,3,4] hd([1, 2, 3, 4]) # -> 1 tl([1, 2, 3, 4]) # -> [2,3,4] [head | tail] [1 | [2, 3, 4]] # -> [1,2,3,4] [1 | [2 | [3 | [4 | []]]]] -> [1,2,3,4] 'hello' = [?h, ?e, ?l, ?l, ?o] keyword_list = [a: 123, b: 456, c: 789] keyword_list[:...

Page 40 of 334