Skip to content
pawan2014 edited this page Aug 14, 2018 · 4 revisions

Random Number

import "math/rand" rand.Intn()

Conversions

strconv.Atoi("-42") string to int strconv.Itoa(-42) integer to string

Currying

making a function that takes one argument and rest as the list of argument or Methods may define multiple parameter lists. When a method is called with a fewer number of parameter lists, then this will yield a function taking the missing parameter lists as its arguments.

Links

a collection of teaching materials on mathematical logic aimed at a non-mathematical audience, intended for use in advanced logic courses as taught in many philosophy departments. It is open source:

Academic Torrents -- a community-maintained distributed repository